{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-47916","id":"CVE-2025-47916","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(","descriptionLong":"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-16T00:00:00.000Z","updated":"2026-06-17T09:28:50.653Z","reserved":"2025-05-14T00:00:00.000Z","status":"Analyzed","rejected":false,"assigner":"mitre","metric":{"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","rating":"critical","source":"mitre"},"metrics":[{"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","rating":"critical","source":"mitre"},{"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","rating":"critical","source":"mitre.org"},{"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","rating":"critical","source":"NVD"}],"rating":"critical","products":["invisioncommunity Invision Power Board"],"affectedProducts":[{"vendor":"invisioncommunity","product":"Invision Power Board","defaultStatus":"unaffected","versions":[{"lessThan":"5.0.7","status":"affected","version":"5.0.0","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-1336","CWE-94"],"aliases":[],"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"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.84318,"epssPercentile":0,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-47916","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-47916","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-47916","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-47916","ok":true,"note":"scored "}],"aiTitle":false,"tech":[],"critical":["EPSS 84% with CVSS 10.0"],"attention":null}