← Vulnerability feed

Vulnerability record · CVE-2025-47916 · published 16 May 2025

CVE-2025-47916: Invision Community themeeditor.php unauthenticated PHP code injection

IInvisioncommunity · Invisioncommunity

Invision Community 5.0.0 before 5.0.7 exposes the themeeditor controller's protected customCss method to unauthenticated users, and the content parameter is passed into Theme::makeProcessFunction() where it is evaluated by the template engine. This lets an attacker inject crafted template strings that execute arbitrary PHP code. Because it is remotely reachable without credentials, it is a severe pre-auth RCE risk for any unpatched board.

9.8 CVSS 3.1 Critical EPSS 84% · top 0.3% CWE-1336 · CWE-1336CWE-94 · Code injection
9.8CVSS 3.1 base score
84%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

Invision Community 5.0.0 before 5.0.7 allows remote code execution via crafted template strings to themeeditor.php. The issue lies within the themeeditor controller (file: /applications/core/modules/front/system/themeeditor.php), where a protected method named customCss can be invoked by unauthenticated users. This method passes the value of the content parameter to the Theme::makeProcessFunction() method; hence it is evaluated by the template engine. Accordingly, this can be exploited by unauthenticated attackers to inject and execute arbitrary PHP code by providing crafted template strings.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

critical priorityUnauthenticated remote code execution with a CVSS of 9.8 and very high EPSS, with public exploit detail referenced.

What it is

Invision Community 5.0.0 before 5.0.7 exposes the themeeditor controller's protected customCss method to unauthenticated users, and the content parameter is passed into Theme::makeProcessFunction() where it is evaluated by the template engine. This lets an attacker inject crafted template strings that execute arbitrary PHP code. Because it is remotely reachable without credentials, it is a severe pre-auth RCE risk for any unpatched board.

Impact

An unauthenticated attacker can execute arbitrary PHP code on the server, leading to full compromise of the Invision Community instance and potentially the underlying host. That includes data theft, webshell placement, and lateral movement.

Attack surface

Reached over the network via themeeditor.php in the core front system module; the CVSS vector is AV:N/AC:L/PR:N/UI:N, so no authentication and no user interaction are required. The flaw is in the customCss method invoked through the content parameter.

Exploitation

Not listed in CISA KEV, but EPSS is 0.83732 (99.674th percentile) and references include an Exploit-tagged advisory (Karmain Security KIS-2025-02) plus a Full Disclosure post, indicating public exploit detail is available.

What to do

  • Upgrade Invision Community to 5.0.7 or later immediately; this is the only complete fix.
  • If patching cannot be done at once, block or restrict external access to themeeditor.php at the web server or WAF.
  • Restrict outbound and inbound access to the Invision Community application to trusted networks where feasible.
  • After patching, rotate secrets and review for unauthorized admin accounts, modified templates, or dropped PHP files.
  • Monitor vendor release notes for any further guidance on the 5.0.7 fix.

Detection

  • Search web logs for requests to /applications/core/modules/front/system/themeeditor.php, especially with a content parameter, from unauthenticated or unexpected sources.
  • Look for POST requests to themeeditor.php returning 200 with unusual or encoded template/PHP-like payloads in the request body.
  • Hunt for newly created or modified PHP files in web-accessible directories and unexpected child processes spawned by the web server user.
  • Review Invision Community logs and file integrity monitoring for template or theme changes made outside normal administrative activity.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2025-47916 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

Source: NIST National Vulnerability Database (record CVE-2025-47916), CISA KEV, FIRST EPSS (scores of 2026-09-24). This page is refreshed as NVD updates the record.