CVE-2025-47916 in invisioncommunity
LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.
What the vulnerability is
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 software: invisioncommunity
Scores
- CVSS: 9.8 (critical)
- EPSS: 84.44% chance of exploitation in the next 30 days
- CISA KEV: Not listed
- Published: 2025-05-16
What LogPulse has for it
- Detection rule: Yes, published
- Agent check (vulnerable version): No
- Mitigation: Yes, see below
How to mitigate it
Upgrade Invision Community to 5.0.7 or later
Patch or upgrade. Invision Community 5.0.7 stops unauthenticated calls to the theme editor customCss method, which closes the template code execution in CVE-2025-47916.
Applies to: Invision Community 5.0.0 to 5.0.6.
- Check the version in AdminCP > System > Support.
- Back up files and database.
- Upgrade through AdminCP > System > Upgrade, or the client area download, to 5.0.7 or later.
- Review AdminCP admin accounts and recently changed files after the upgrade.
Sources:
Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.
We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.