CVE-2025-47916

CVE-2025-47916 is a critical-severity vulnerability in Invisioncommunity with a CVSS 3.x base score of 10.0. Its EPSS exploit-prediction score of 85% places it in the 100th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-94.

Key facts

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.

Frequently asked questions

What is CVE-2025-47916?
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.
How severe is CVE-2025-47916?
CVE-2025-47916 has a CVSS 3.x base score of 10.0, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2025-47916 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 85% (100th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2025-47916?
CVE-2025-47916 affects Invisioncommunity. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2025-47916?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
Does CVE-2025-47916 have an EU (EUVD) identifier?
Yes. CVE-2025-47916 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-15448.
When was CVE-2025-47916 published?
CVE-2025-47916 was published on 2025-05-16 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Invisioncommunity

All CVEs affecting Invisioncommunity →

Other CWE-94 (Code Injection) vulnerabilities

Browse all CWE-94 (Code Injection) vulnerabilities →