CVE-2025-47916CWE-1336

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

Critical · published May 16, 2025

Patch now

High probability of exploitation

CVSS calls it critical at 10.0. It sits in the 99.7th percentile for exploit probability.

CVSS v3.1
10.0
EPSS
84%
Percentile
99.7
In the wild
Unconfirmed
What it is

🚨 A single crafted template string is all it takes for an unauthenticated user to seize control of your Invision Community site! 🔥 Think of it like a sneaky chef slipping a forbidden ingredient into a recipe — if the kitchen (your server) isn’t paying attention, the resulting dish (your website) could be utterly ruined. 🍽️ An attacker exploiting this vulnerability could execute arbitrary PHP code on your server, leading to devastating consequences such as data breaches, defacement, or complete system takeover. Imagine waking up to find your site has been transformed into a digital nightmare, with sensitive data at risk and your reputation on the line!

Put simply

Think of it like a sneaky chef slipping a forbidden ingredient into a recipe — if the kitchen (your server) isn’t paying attention, the resulting dish (your website) could be utterly ruined. 🍽️ This vulnerability allows unauthenticated attackers to invoke the customCss method in the themeeditor controller, which processes malicious template strings through the template engine, executing arbitrary code on the server.

What to do

An attacker exploiting this vulnerability could execute arbitrary PHP code on your server, leading to devastating consequences such as data breaches, defacement, or complete system takeover. Imagine waking up to find your site has been transformed into a digital nightmare, with sensitive data at risk and your reputation on the line! To protect your site, immediately upgrade Invision Community to version 5.0.7 or later. It’s also wise to review and tighten access controls around critical components like theme editing to ensure only trusted users can make changes. 🛡️ You’ve got this! Follow these steps to secure your site and keep those pesky attackers at bay! 💪✨

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.84188 · 99.7th percentile
Weakness
CWE-1336 · Improper Neutralization of Special Elements Used in a Template Engine
Published
2025-05-16T00:00Z
EPSS history
Timeline
  • 16 MAY 00:00Z
    Invision Community 5.0.0 before 5.0.7 allows remote code execution via crafted template strings to themeeditor.php
    cvelistv5