{"id":"CVE-2025-47916","aliases":["CVE-2025-47916"],"related":[],"kind":"vulnerability","state":"published","title":"Invision Community 5.0.0 before 5.0.7 allows remote code execution via crafted template strings to themeeditor.php.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Invision Community 5.0.0 anterior a 5.0.7 permite la ejecución remota de código mediante cadenas de plantillas manipuladas en themeeditor.php. El problema reside en el controlador themeeditor (archivo: /applications/core/modules/front/system/themeeditor.php), donde usuarios no autenticados pueden invocar un método protegido llamado customCss. Este método pasa el valor del parámetro content al método Theme::makeProcessFunction(); por lo tanto, lo evalúa el motor de plantillas. Por lo tanto, atacantes no autenticados pueden aprovechar esto para inyectar y ejecutar código PHP arbitrario mediante cadenas de plantillas manipuladas.","source":"nvd"}],"published":"2025-05-16T00:00:00.000Z","modified":"2026-06-17T09:28:50.653Z","severity":{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"},"severities":[{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-94","CWE-1336"],"affected":[{"ranges":[{"type":"semver","introduced":"5.0.0","fixed":"5.0.7","status":"affected"}],"vendor":"invisioncommunity","product":"Invision Power Board","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.0.0","fixed":"5.0.7"}],"vendor":"invisioncommunity","product":"invisioncommunity","cpe":"cpe:2.3:a:invisioncommunity:invisioncommunity:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://invisioncommunity.com/release-notes-v5/507-r41/","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://karmainsecurity.com/KIS-2025-02","tags":["exploit","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"http://seclists.org/fulldisclosure/2025/May/4","tags":["mailing-list","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2025-05-16T16:27:48.468Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-47916","url":"https://www.cve.org/CVERecord?id=CVE-2025-47916","licence":"CVE Terms of Use","modified":"2025-05-17T05:03:09.924Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-47916","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-47916","licence":"Public domain","modified":"2026-06-17T09:28:50.653Z"}],"updatedAt":"2026-11-25T22:58:58.133Z","epss":{"score":0.84437,"percentile":0.99701,"date":"2026-12-01T12:00:22.000Z"}}