CVE-2026-55890CWE-79

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

Medium · published July 10, 2026

CVSS v3.1
4.8
EPSS
0%
Percentile
22.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.8 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00309 · 22.6th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-07-10T16:17Z
EPSS history
Timeline
  • 10 JUL 16:17Z
    Grav: Stored CSS injection via Markdown image ?style=… reaches MediaObjectTrait::style()
    cvelistv5