CRITICAL🇵🇱 Wersja polska

CVE-2025-47916

CVSS 10.0v3.1pub. 2025-05-16upd. 2025-06-20

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.

🤖 AI Analysis
How it works

The themeeditor controller (file /applications/core/modules/front/system/themeeditor.php) contains a protected customCss method that can be invoked by an unauthenticated user — this constitutes an authorization mechanism bypass (Auth Bypass). This method passes the value of the content parameter to the Theme::makeProcessFunction() function, where it is evaluated by the template engine. An attacker can supply crafted template strings containing malicious PHP code, which will be executed on the server side.

Impact

An unauthenticated attacker can execute arbitrary PHP code on the server, leading to complete takeover of the application and system, data theft, content modification, or further lateral movement in the infrastructure.

Mitigation & patch

Invision Community must be immediately updated to version 5.0.7 or later, according to the vendor's information available at https://invisioncommunity.com/release-notes-v5/507-r41/

Who is affected

Invision Community versions 5.0.0 to 5.0.6 (before 5.0.7)

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Invisioncommunity

    APP
    Invisioncommunity
    5.0.0 – 5.0.7 (excl.)
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
Tags
RCEAuth Bypass
CWE
References

Related vulnerabilities

CVE-2024-30163CRITICAL9.8PL ✓same product

SQL Injection w Invision Community — nieuwierzytelniony Blind SQLi w module sklepu

CVE-2021-40604CRITICAL9.1PL ✓same vendor

SSRF i deserializacja w IPS Community Suite przed wersją 4.6.2

CVE-2013-3725CRITICAL9.8PL ✓same vendor

Przejęcie konta admina i RCE w Invision Power Board (IPB) do wersji 3.x

CVE-2012-2226CRITICAL9.8PL ✓same vendor

Invision Power Board — upload złośliwego pliku umożliwia RCE

CVE-2017-8898CRITICAL9.8PL ✓same vendor

Stored XSS w Invision Power Board umożliwiający privilege escalation do admina