{"id":"CVE-2025-47916","url":"https://www.cyber-defence.io/tools/cve/CVE-2025-47916","generatedAt":"2026-11-03T20:38:54.781Z","title":"Invision Community 5.0.0 before 5.0.7 allows remote code execution via crafted template strings to themeeditor.php.","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.","published":"2025-05-16T15:15:48.000Z","lastModified":"2026-06-17T09:28:51.000Z","status":"Analyzed","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-1336","CWE-94"],"affected":["invisioncommunity/invisioncommunity"],"epss":{"score":0.84318,"percentile":0.99698,"date":"2026-11-02","history":[]},"kev":{"listed":false},"exploits":{"count":1,"verified":false,"firstPublished":"2025-05-18","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":52294,"kind":"exploit","title":"Invision Community 5.0.6 - Remote Code Execution (RCE)","url":"https://www.exploit-db.com/exploits/52294","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/multiple/remote/52294.php","file":"exploits/multiple/remote/52294.php","published":"2025-05-18","added":"2025-05-18","updated":"2025-05-18","author":"Egidio Romano","type":"remote","platform":"multiple","port":null,"verified":false,"codes":["CVE-2025-47916"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://karmainsecurity.com/pocs/CVE-2025-47916.php"}]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 84.3%, higher than 100% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"https://invisioncommunity.com/release-notes-v5/507-r41/","tags":["Release Notes"],"source":"cve@mitre.org"},{"url":"https://karmainsecurity.com/KIS-2025-02","tags":["Exploit","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"http://seclists.org/fulldisclosure/2025/May/4","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://karmainsecurity.com/KIS-2025-02","tags":["Exploit","Third Party Advisory"],"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-47916","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}