CVE-2025-47916
PoC largeUnauthenticated Remote Code Execution in Invision Community 5.0
CVE-2025-47916 is a critical (CVSS 9.8) unauthenticated remote code execution flaw in the theme editor of Invision Community 5.0.x. The themeeditor controller (/applications/core/modules/front/system/themeeditor.php) exposes a protected customCss method to unauthenticated users, and this method passes the 'content' request parameter into Theme::makeProcessFunction(), where it is evaluated by the template engine. By sending crafted template strings to themeeditor.php, an attacker can inject and execute arbitrary PHP code with the privileges of the web server, with no account, privileges, or user interaction required. Any installation running Invision Community 5.0.0 up to but not including 5.0.7 is affected. A public proof of concept is available (KIS-2025-02) and EPSS assigns an 83.7% probability of exploitation within 30 days, though the flaw is not yet in CISA KEV and no confirmed in-the-wild exploitation is reported.
What to do: Upgrade to Invision Community 5.0.7 or later immediately. Until patched, restrict or block unauthenticated access to /applications/core/modules/front/system/themeeditor.php, and review web server logs for requests to themeeditor.php with unexpected or unusually long 'content' parameter values. Given the public PoC and near-maximal EPSS score, internet-facing forums running 5.0.0–5.0.6 should treat this as an urgent patch priority.
| invisioncommunity Invision Community | 5.0.0 before 5.0.7 (i.e., 5.0.0 through 5.0.6) |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
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.
- Vendors
- invisioncommunity
- Products
- invisioncommunity
- Weakness
- CWE-1336, CWE-94
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
In the news0 stories
No ingested article mentions this CVE yet.