Skip to main content
ExploitedNot in CISA KEV yetFix available

CVE-2025-47916

Exploitation confirmed. First attested on 2025-05-16 by GCVE · previdian, GCVE · shadowserver.

  • Published2025-05-16
  • Fixed in5.0.7
  • WeaknessCWE-1336 · CWE-94

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2025-05-16Listed as exploited by GCVEGCVE
  2. 2025-05-1615:15CVE publishedNVD
  3. 2025-05-18Exploit-DB entryExploit-DB
  4. 2025-06-0620:40Exploitation first reportedGCVE

Versions per branch

NVD
Invisioncommunity
BranchAffectedFixed in
5.0≥ 5.0.0, < 5.0.75.0.7

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As mitre, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • invisioncommunity Invision Power Boardother versions: not affected
    Affected
    • ≥ 5.0.0, < 5.0.7fixed in 5.0.7semver

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2025-05-16

Fix

  1. Update Invisioncommunity to 5.0.7

Advisories and patches

Detection

read 2026-11-01 01:02 UTC
Nuclei template
available
ProjectDiscovery
Exploit-DB
EDB-52294
Exploit-DB
Proof of concept
Metasploit modules
1 moduleexploit/multi/http/invision_customcss_rcerank: excellentModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause.
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2025-05-16
Last Modified
2026-06-17
NVD status
Analyzed
GitHub Advisory
GHSA-96q3-fjrx-h9hh

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.

Is CVE-2025-47916 actively exploited?

A proof-of-concept exploit exists for CVE-2025-47916, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2025-47916?

CVE-2025-47916 has a CVSS v3 base score of 9.8 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Hear about the next vulnerability in your software

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record