# CVE-2025-47916: Invision Community 5.0.0 before 5.0.7 allows remote code execution via crafted template strings to themeeditor.php.

- Severity: Critical 10.0 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 84.4%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-05-16T00:00:00.000Z
- Modified: 2026-06-17T09:28:50.653Z
- Weaknesses: CWE-94, CWE-1336
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- invisioncommunity Invision Power Board: from 5.0.0 before 5.0.7
- invisioncommunity invisioncommunity: from 5.0.0 before 5.0.7

## Every score

- mitre: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://karmainsecurity.com/KIS-2025-02> (exploit, third-party-advisory)
- <https://invisioncommunity.com/release-notes-v5/507-r41/> (release-notes)
- <http://seclists.org/fulldisclosure/2025/May/4> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2025-47916](https://www.cve.org/CVERecord?id=CVE-2025-47916), CVE Terms of Use, modified 2025-05-17
- NVD: [CVE-2025-47916](https://nvd.nist.gov/vuln/detail/CVE-2025-47916), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-47916 · Whole record: https://cve.day/CVE-2025-47916.json · Rebuilt by cve.day 2026-11-25T22:58:58.133Z
