What’s Vulnerable › Vulnerabilities

CVE-2026-85601: Grav Admin before 2.0.20 Cross-Site Scripting via marked.js

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.

Affected products

How to fix

Upgrade to a fixed version: getgrav grav 2.0.20. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-85601 or the next vulnerability affects your stack