Paper/Archive/CVE-2025-47916

CVE-2025-47916

invisioncommunity Invision Power Board — Invision Community 5.0.0 before 5.0.7 allows remote code execution via crafted template strings to themeeditor.php.

Description · from the CVE record

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

ProductAffectedFixed inSource
Invision Power Board5.0.0 – < 5.0.75.0.7CNA

Scores by source

mitre (CNA)10.0CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: total

References

refinvisioncommunity.com/release-notes-v5/507-r41exploitkarmainsecurity.com/KIS-2025-02refseclists.org/fulldisclosure/2025/May/4