CVE-2025-47916

published 16 May 2025 · updated 17 May 2025

Invision Community 5.0.0 before 5.0.7 allows remote code execution via crafted template strings to themeeditor.php

10.0CriticalCVSS 10.0EPSS 84%2 public exploits

2 public exploits exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 84%. Fixed in 5.0.7.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
invisioncommunity>=5.0.0 <5.0.75.0.7

Exploit evidence

2 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-47916 severity on Zeptric[![CVE-2025-47916](https://zeptric.io/badge/cve/CVE-2025-47916.svg)](https://zeptric.io/cve/CVE-2025-47916)