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.
Metrics
Affected Vendors & Products
References
History
Sat, 17 May 2025 05:45:00 +0000
Type | Values Removed | Values Added |
---|---|---|
References |
|
Fri, 16 May 2025 17:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|
Fri, 16 May 2025 15:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Weaknesses | CWE-1336 | |
Metrics |
cvssV3_1
|
Fri, 16 May 2025 15:00:00 +0000
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 |
|

Status: PUBLISHED
Assigner: mitre
Published: 2025-05-16T00:00:00.000Z
Updated: 2025-05-17T05:03:09.924Z
Reserved: 2025-05-14T00:00:00.000Z
Link: CVE-2025-47916

Updated: 2025-05-17T05:03:09.924Z

Status : Awaiting Analysis
Published: 2025-05-16T15:15:48.357
Modified: 2025-05-19T13:35:50.497
Link: CVE-2025-47916

No data.