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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| invisioncommunity | Invision Power Board | 5.0.0 – < 5.0.7 | 5.0.7 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Invision Community 5.0.6 customCss RCE
exploit/multi/http/invision_customcss_rce
Exploit-DB 1
- Invision Community 5.0.6 - Remote Code Execution (RCE) EDB-52294 · remote · May 18, 2025
GitHub 1 repository
-
Web3-Serializer/CVE-2025-47916 ★ 1 · Nov 21, 2025
Proof‑of‑concept description for CVE‑2025‑47916, a Remote Code Execution vulnerability affecting Invision Community 5.0.0–5.0.6 via unsafe template processing in the "customCss()" method.
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Invision Community <=5.0.6 Unauthenticated RCE via Template Injection http/cves/2025/CVE-2025-47916.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.