Skip to main content
← All vulnerabilities
CVE-2026-55890GHSA-PMF8-G7C8-7V54

Grav: Stored CSS injection via Markdown image ?style=… reaches MediaObjectTrait::style()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.0-rc.9
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

Grav is a file-based Web platform. Prior to 2.0.0-rc.9, Grav's incomplete fix for stored XSS through the Markdown media attribute action (CVE-2026-42841) leaves the sibling MediaObjectTrait::style method reachable through the same Markdown excerpt-action pipeline, allowing an editor to save Markdown image style parameters that are written into the rendered img style attribute without sanitization. This issue is fixed in version 2.0.0-rc.9.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • getgrav grav

    fixed in 2.0.0-rc.9

  • getgrav/gravPackagist

    fixed in 2.0.0-rc.9

References 3

GitHub · getgrav/grav