CVE-2025-47916: Code Injection

Published May 16, 2025
·
Updated

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

2 affected components
Invision Community Invision Community<5.0.7
Invisioncommunity Invisioncommunity>=5.0.0<5.0.7

Event History

May 16, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeaknessAffected Software
May 18, 2025
Exploit Published
12:00 AM
Known Exploited
06:11 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

How do I fix CVE-2025-47916?

To mitigate CVE-2025-47916, upgrade Invision Community to version 5.0.7 or later.

3

What does CVE-2025-47916 affect?

CVE-2025-47916 affects Invision Community versions prior to 5.0.7, specifically the themeeditor.php file.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203