CVE-2025-47916

Critical

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.

SeverityCritical
CVSS10.0
Exploit probability—
ProductInvisioncommunity
PublishedMay 16, 2025
First seenMay 16, 2025
Weakness typeCWE-1336CWE-1336

How to fix

Update
  • invisioncommunity invisioncommunity5.0.7 or later

Affected products

ProductAffected versionsFixed in
invisioncommunity invisioncommunity5.0.0 ≤ v < 5.0.75.0.7

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.