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

What LogPulse has for it

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.

  1. Check the version in AdminCP > System > Support.
  2. Back up files and database.
  3. Upgrade through AdminCP > System > Upgrade, or the client area download, to 5.0.7 or later.
  4. 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.

Start free with LogPulse