CVE-2025-47916: critical vulnerability in invisioncommunity Invision Power Board
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
Patch now. It exploitation observed in the wild and has a working public exploit.
Invision Community versions before 5.0.7 allow anyone to execute arbitrary code by sending specially crafted template strings to the theme editor, without needing to log in. This is critical because attackers can take complete control of the website.
An unauthenticated attacker can invoke the protected customCss method in themeeditor.php by crafting malicious template strings in the content parameter. The application passes this unsanitized input to Theme::makeProcessFunction(), which evaluates it in the template engine context, resulting in arbitrary PHP code execution with application privileges.