PoC Monitor
← All CVEs
CVE-2025-47916published 16 May 2025 00:00 UTCData: JSON · API

Invisioncommunity Invision Power Board

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.

First public PoC 2 daysafter publication · 18 May 2025 · Exploit-DB
Public PoCs41 on GitHub · 3 Exploit-DB, Metasploit or nuclei
CVSS10.0critical · scored by CNA · CWE-1336
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

invisioncommunity Invision Power Board
  • >= 5.0.0, < 5.0.7

Fixed in 5.0.7

Mitigation

Upgrade Invision Power Board to 5.0.7 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published16 May 2025 · t = 0First public PoC18 May 2025 · t+2d

First public PoC 2 days after publication; not in CISA KEV. First PoC: Invision Community 5.0.6 - Remote Code Execution (RCE) (Exploit-DB, 18 May 2025).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
Web3-Serializer/CVE-2025-47916 21 Nov 2025 +190 d 1 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

POST /

Body markers
app=core module=system controller=themeeditor do=customCss content={expression="die(...system(base64_decode(...)))"} ________ in application/x-www-form-urlencoded
Ports
80, 443
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
Seen in
1 repo: Web3-Serializer/CVE-2025-47916
Evidence
Web3-Serializer/CVE-2025-47916/main.py:34-51

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /
(?i)^/(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /
alert http any any -> $HOME_NET [80,443] (msg:"GG PoC-Monitor CVE-2025-47916 invisioncommunity Invision Power Board exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.request_body; content:"app=core"; http.request_body; content:"module=system"; http.request_body; content:"controller=themeeditor"; http.request_body; content:"do=customCss"; http.request_body; content:"content={expression=|22|die(...system(base64_decode(...)))|22|}"; http.request_body; content:"________"; reference:url,poc.griffinguard.io/cve/CVE-2025-47916; classtype:web-application-attack; sid:9553306; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /
title: invisioncommunity Invision Power Board exploit attempt (CVE-2025-47916)
id: gg-pocmon-cve-2025-47916-9553306
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-47916. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-47916
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.47916