CVE-2026-85601 Grav Admin before 2.0.20 Cross-Site Scripting via marked.js
Attackers can execute arbitrary JavaScript in authenticated admin sessions by injecting malicious URIs into plugin or theme changelogs via unsanitized Markdown rendering.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-85601?
CVE-2026-85601 is a medium-severity cross-site scripting vulnerability in getgrav grav, published on 4 Sep 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Grav Admin before 2.0.20 fails to sanitize output from marked.parse() before injecting it into the DOM via Svelte's {@html} directive in MarkdownEditor and MarkdownModal components. Attackers can inject javascript: URI schemes in plugin or theme changelogs to execute arbitrary code in authenticated admin sessions without requiring site access.
Weakness: CWE-79
Which versions are affected by CVE-2026-85601?
How do I fix CVE-2026-85601?
No fix has been published for CVE-2026-85601 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-85601 being exploited?
There is no known exploitation of CVE-2026-85601 in the wild and no public exploit code.
Sources
Also known as GHSA-752r-88j4-vxm3, GHSA-pqmm-93p6-x64h.