Patchfirst
CVE-2025-47916 Public exploit Critical · 10.0 EPSS 84.4%

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

No fixed version listed yet.Check the vendor advisory. References ↓

invisioncommunity · Invision Power Board

Summary

Invision Community 5.0.0 before 5.0.7 (Invision Power Board) has a flaw in the themeeditor controller at applications/core/modules/front/system/themeeditor.php, where the customCss method, which unauthenticated users can invoke, passes the content parameter to Theme::makeProcessFunction() and so into the template engine without neutralisation. An unauthenticated remote attacker can exploit this by sending crafted template strings to themeeditor.php to execute arbitrary PHP code on the server.

Official description · CVE.org

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.

Breakdown
66.9 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 21 days after disclosure. Public exploit code (Metasploit) was available the same day.

  1. DisclosedPublic exploit codeMetasploitday 0
  2. First seen exploitedVulnCheck KEV evidence+21 days

Affected versions and fixes

as published in the CVE record

invisioncommunity Invision Power Board

Affected: >= 5.0.0, < 5.0.7

References

3 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close