{"id":"CVE-2025-47916","aliases":["EUVD-2025-15448","GHSA-96q3-fjrx-h9hh"],"status":"published","title":"Invision Community 5.0.0 before 5.0.7 allows remote code execution via crafted template strings...","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.","severity":{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.84318,"percentile":0.99703,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-1336","CWE-94"],"published":"2025-05-16T00:00:00Z","modified":"2026-06-17T09:28:50Z","exploits":[{"source":"exploitdb","id":"EDB-52294","title":"Invision Community 5.0.6 - Remote Code Execution (RCE)","type":"remote","platform":"multiple","date":"2025-05-18","url":"https://www.exploit-db.com/exploits/52294"},{"source":"metasploit","id":"exploit/multi/http/invision_customcss_rce","title":"Invision Community 5.0.6 customCss RCE","type":"exploit","platform":"Linux,PHP,Unix,Windows","date":"2025-05-16","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/multi/http/invision_customcss_rce"},{"source":"nuclei","id":"CVE-2025-47916","title":"Invision Community \u003c=5.0.6 Unauthenticated RCE via Template Injection","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-47916.yaml"},{"source":"pocgithub","id":"Web3-Serializer/CVE-2025-47916","title":"Web3-Serializer/CVE-2025-47916","date":"2025-11-21","url":"https://github.com/Web3-Serializer/CVE-2025-47916"}],"products":[{"vendor":"invisioncommunity","product":"invision power board"},{"vendor":"invisioncommunity","product":"invisioncommunity"}],"references":[{"url":"https://invisioncommunity.com/release-notes-v5/507-r41/","tags":["Release Notes"]},{"url":"https://karmainsecurity.com/KIS-2025-02","tags":["exploit","Exploit","Third Party Advisory"]},{"url":"http://seclists.org/fulldisclosure/2025/May/4","tags":["Mailing List","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-47916"},{"url":"https://invisioncommunity.com/release-notes-v5/507-r41"},{"url":"https://github.com/advisories/GHSA-96q3-fjrx-h9hh"}],"sources":{"cve":[{"id":"CVE-2025-47916","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.","status":"published","published":"2025-05-16T00:00:00Z","modified":"2025-05-17T05:03:09.924Z","cvss":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"cna"}],"cwes":["CWE-1336"],"updated_at":"2026-11-02T14:32:25.982948Z"}],"euvd":[{"id":"EUVD-2025-15448","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.","status":"published","published":"2025-05-16T00:00:00Z","modified":"2025-05-17T05:03:09Z","cvss":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T20:32:44.705403Z"}],"ghsa":[{"id":"GHSA-96q3-fjrx-h9hh","title":"Invision Community 5.0.0 before 5.0.7 allows remote code execution via crafted template strings...","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.","status":"published","published":"2025-05-16T18:31:06Z","modified":"2025-06-20T21:33:09Z","cvss":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-94","CWE-1336"],"updated_at":"2026-11-02T15:02:47.356918Z"}],"nvd":[{"id":"CVE-2025-47916","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.","status":"published","published":"2025-05-16T15:15:48.357Z","modified":"2026-06-17T09:28:50.653Z","cvss":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"}],"cwes":["CWE-1336","CWE-94"],"updated_at":"2026-11-02T14:11:08.321805Z"}]}}
