CVE-2025-47916 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/f...
- Published
- Updated
- Exploit status
- Public exploit available
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
- Technology
- PHP
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| invisioncommunity | >= 5.0.0, < 5.0.7 | 5.0.7 | Fixed |
| invisioncommunity invision power board | >= 5.0.0, < 5.0.7 | 5.0.7 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| invisioncommunity invision power board | >= 5.0.0, < 5.0.7 | 5.0.7 |
| invisioncommunity | >= 5.0.0, < 5.0.7 | 5.0.7 |
References
- invisioncommunity.com release-notes
- karmainsecurity.com exploit third-party-advisory
- seclists.org mailing-list third-party-advisory