Skip to content

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

MediumCVSS 5.1 EPSS 0.28%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
getgrav/grav < 2.0.20 2.0.20 Fixed

Affected products

ProductAffected versionsFixed in
getgrav/grav < 2.0.20 2.0.20

References