{"id":"CVE-2026-85598","summary":"Grav 2.0.0 through 2.0.17 Stored XSS via Modular Pages","details":"Grav versions 2.0.0 through 2.0.17 fail to apply save-time XSS detection to modular pages, allowing authenticated page editors to store Twig-assembled XSS payloads. Attackers with page-edit rights can create modular pages with malicious Twig code that executes in visitor browsers when the parent page is rendered, including in administrator sessions.","aliases":["GHSA-fg8g-663r-f366"],"modified":"2026-09-07T03:31:00.766982317Z","published":"2026-09-04T11:30:01.461Z","database_specific":{"cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85598.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85598.json"},{"type":"ADVISORY","url":"https://github.com/getgrav/grav/security/advisories/GHSA-fg8g-663r-f366"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85598"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/grav-2.0.0-through-2.0.17-stored-xss-via-modular-pages"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/getgrav/grav","events":[{"introduced":"bb4022f44b882ca4615188f4da5a0d646cef02ce"},{"fixed":"d7bfcb522fda2a5516adf00958ab51f48d1be7eb"}],"database_specific":{"extracted_events":[{"introduced":"2.0.0"},{"last_affected":"2.0.17"},{"fixed":"2.0.17"}],"source":["AFFECTED_FIELD","DESCRIPTION"]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-85598.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"}]}