CVE-2025-47916

Published May 16, 2025 CVSS 3.1 · 10 Critical EPSS 84.3% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics epss

{'score': 0.8744}

epss

{'score': 0.89904}

Type Values Removed Values Added
Metrics epss

{'score': 0.86334}

epss

{'score': 0.8744}

Type Values Removed Values Added
Metrics epss

{'score': 0.8791}

epss

{'score': 0.86334}

Type Values Removed Values Added
First Time appeared Invisioncommunity
Invisioncommunity invisioncommunity
Weaknesses CWE-94
CPEs cpe:2.3:a:invisioncommunity:invisioncommunity:*:*:*:*:*:*:*:*
Vendors & Products Invisioncommunity
Invisioncommunity invisioncommunity
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-1336
Metrics cvssV3_1

{'score': 10, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H'}

Type Values Removed Values Added
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.
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
May 17, 2025, 5:03 AM
Reserved
May 14, 2025, 12:00 AM
Status
Analyzed
Published
May 16, 2025, 3:15 PM
Modified
Jun 17, 2026, 9:28 AM