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?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 2025-05-16Listed as exploited by GCVEGCVE
- 2025-05-1615:15CVE publishedNVD
- 2025-05-18Exploit-DB entryExploit-DB
- 2025-06-0620:40Exploitation first reportedGCVE
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 5.0 | ≥ 5.0.0, < 5.0.7 | 5.0.7 | NVD |
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 affectedAffected
- ≥ 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
- Update Invisioncommunity to 5.0.7
Advisories and patches
- invisioncommunity.comRelease Notes
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- available ProjectDiscovery
- Proof of concept
- CISA-ADP (SSVC)PoC stated2025-05-16
- PoC-in-GitHub1 repository, unverifiedknown since 2026-11-01Web3-Serializer/CVE-2025-47916
- Metasploit modules
- 1 moduleexploit/multi/http/invision_customcss_rcerank: excellentModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause. Metasploit Framework
Sources
- GCVEexploitation2025-05-16
- CISA-ADPSSVC decisionpoc2025-05-16
- CNACVSS 3.110known since 2026-10-23
- NVDCVSS 3.19.8read 2026-10-23
- CNAweakness (CWE)CWE-1336known since 2026-10-23
- NVDweakness (CWE)CWE-94read 2026-10-23
- FIRST EPSSEPSS score84.3 %read 2026-11-08
- PoC-in-GitHubproof of concept1known since 2026-11-01
- Exploit-DBdetectionread 2026-11-08
- ProjectDiscoverydetectionread 2026-11-08
- Metasploit FrameworkMetasploit modules1known since 2026-11-01
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2025-15448same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-96q3-fjrx-h9hhsame flawGitHub Advisory Database · CC-BY-4.0
- exploit/multi/http/invision_customcss_rceexploit moduleMetasploit Framework © Rapid7 · BSD-3-Clause
- EDB-52294exploit referenceExploit-DB · BSD-3-Clause
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?
Is CVE-2025-47916 actively exploited?
What is the CVSS score for CVE-2025-47916?
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
Go further
- For a threat intelligence platform: malware, C2 and ransomware indicators over STIX/TAXII.
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- Exploit-DB · Exploit-DB terms of service · terms restrict redistribution
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GCVE · GCVE dump terms (preserve source attribution)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-96q3-fjrx-h9hh
- Metasploit Framework · BSD-3-Clause
- Nuclei templates · MIT
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- PoC-in-GitHub · CC0-1.0
- CISA Vulnrichment · CC0-1.0