{"id":"CVE-2025-47916","state":"PUBLISHED","title":"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: /applica","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.","publishedAt":"2025-05-16T00:00:00.000Z","updatedAt":"2025-05-17T05:03:09.924Z","severity":{"score":10,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","source":"mitre"},"assigner":"mitre","products":["invisioncommunity Invision Power Board"],"affected":[{"vendor":"invisioncommunity","product":"Invision Power Board","defaultStatus":"unaffected","versions":[{"version":"5.0.0","status":"affected","lessThan":"5.0.7","versionType":"semver"}]}],"references":["https://invisioncommunity.com/release-notes-v5/507-r41/","https://karmainsecurity.com/KIS-2025-02","http://seclists.org/fulldisclosure/2025/May/4"],"weaknesses":["CWE-1336"],"ingestedAt":"2026-10-29T20:09:23.771Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/47xxx/CVE-2025-47916.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-47916","state":"PUBLISHED","datePublished":"2025-05-16T00:00:00.000Z","dateUpdated":"2025-05-17T05:03:09.924Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2025-05-14T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"invisioncommunity","product":"Invision Power Board","defaultStatus":"unaffected","versions":[{"version":"5.0.0","status":"affected","lessThan":"5.0.7","versionType":"semver"}]}],"references":[{"url":"https://invisioncommunity.com/release-notes-v5/507-r41/"},{"url":"https://karmainsecurity.com/KIS-2025-02"}],"metrics":[{"cvssV3_1":{"version":"3.1","baseScore":10,"baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1336","description":"CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2025-05-16T14:59:22.006Z"},"x_generator":{"engine":"enrichogram 0.0.1"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:invisioncommunity:invision_power_board:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0.0","versionEndExcluding":"5.0.7"}]}]}]},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://karmainsecurity.com/KIS-2025-02","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-05-16T16:27:48.468993Z","id":"CVE-2025-47916","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-05-16T16:27:51.690Z"}},{"title":"CVE Program Container","references":[{"url":"http://seclists.org/fulldisclosure/2025/May/4"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-05-17T05:03:09.924Z"}}]}}}