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 (bez)
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
Tags
RCEAuth Bypass
CWE
References

Related vulnerabilities

CVE-2024-30163CRITICAL9.8PL ✓ten sam produkt

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

CVE-2021-40604CRITICAL9.1ten sam vendor

A Server-Side Request Forgery (SSRF) vulnerability in IPS Community Suite before 4.6.2 allows remote authentic...

CVE-2013-3725CRITICAL9.8ten sam vendor

Invision Power Board (IPB) through 3.x allows admin account takeover leading to code execution.

CVE-2012-2226CRITICAL9.8ten sam vendor

Invision Power Board before 3.3.1 fails to sanitize user-supplied input which could allow remote attackers to ...

CVE-2017-8898CRITICAL9.8ten sam vendor

Invision Power Services (IPS) Community Suite 4.1.19.2 and earlier has stored XSS in the Announcements, allowi...