{
  "id": "CVE-2025-47916",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-47916",
  "published_at": "2025-05-16T00:00:00Z",
  "vendor": "invisioncommunity",
  "product": "Invision Power Board",
  "cvss": {
    "score": 10,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2025-05-18T00:00:00Z",
    "first_seen_at": "2026-11-14T14:50:35.824Z",
    "days_after_publication": 2,
    "source": "exploitdb",
    "url": "https://www.exploit-db.com/exploits/52294"
  },
  "poc_repo_count": 1,
  "exploit_count": 3,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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 (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.",
  "cwe": "CWE-1336",
  "cpes": [
    "cpe:2.3:a:invisioncommunity:invisioncommunity:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 10,
    "nvd": 9.8
  },
  "repos": [
    {
      "repo": "Web3-Serializer/CVE-2025-47916",
      "url": "https://github.com/Web3-Serializer/CVE-2025-47916",
      "created_at": "2025-11-21T13:16:49Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-06-27T13:18:10Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "invisioncommunity",
        "product": "Invision Power Board",
        "ranges": [
          "\u003e= 5.0.0, \u003c 5.0.7"
        ],
        "fixed_in": [
          "5.0.7"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Invision Power Board to 5.0.7 or later."
    ]
  },
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/52294",
      "source": "exploitdb",
      "title": "Invision Community 5.0.6 - Remote Code Execution (RCE)",
      "published_at": "2025-05-18T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/invision_customcss_rce.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: Invision Community 5.0.6 customCss RCE (exploit/multi/http/invision_customcss_rce)",
      "published_at": "2025-05-20T16:33:06Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-47916.yaml",
      "source": "nuclei",
      "title": "nuclei template: Invision Community \u003c=5.0.6 Unauthenticated RCE via Template Injection",
      "published_at": "2025-05-26T13:22:29Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/",
      "body_markers": [
        "app=core",
        "module=system",
        "controller=themeeditor",
        "do=customCss",
        "content={expression=\"die(...system(base64_decode(...)))\"}",
        "________"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        80,
        443
      ],
      "user_agents": [
        "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"
      ],
      "protocol": "http",
      "repos": [
        "Web3-Serializer/CVE-2025-47916"
      ],
      "repo_count": 1,
      "confidence": 0.6,
      "evidence": [
        "Web3-Serializer/CVE-2025-47916/main.py:34-51"
      ]
    }
  ],
  "rules": []
}
