CVE-2025-47916: Code Injection
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
Event History
Frequently Asked Questions
What is the severity of CVE-2025-47916?
CVE-2025-47916 has been classified as a critical vulnerability due to its potential for remote code execution.
How do I fix CVE-2025-47916?
To mitigate CVE-2025-47916, upgrade Invision Community to version 5.0.7 or later.
What does CVE-2025-47916 affect?
CVE-2025-47916 affects Invision Community versions prior to 5.0.7, specifically the themeeditor.php file.
What type of vulnerability is CVE-2025-47916?
CVE-2025-47916 is a remote code execution vulnerability that can be exploited via crafted template strings.
Who is impacted by CVE-2025-47916?
Any users running Invision Community versions below 5.0.7 are at risk of exploitation from CVE-2025-47916.