What’s Vulnerable › Vulnerabilities
CVE-2026-55890: Grav: Stored CSS injection via Markdown image ?style=… reaches MediaObjectTrait::style()
- Severity: medium (CVSS 4.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-10 · updated 2026-10-25
- Weakness: CWE-79
Description
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.
Affected products
- getgrav grav: before 2.0.0-rc.9
References
- https://github.com/getgrav/grav/commit/24fd6cbc438e12310b126d1176e7d7601203a6f2
- https://github.com/getgrav/grav/releases/tag/2.0.0-rc.9
- https://github.com/getgrav/grav/security/advisories/GHSA-pmf8-g7c8-7v54
- https://github.com/getgrav/grav/security/advisories/GHSA-pmf8-g7c8-7v54
Get alerted when CVE-2026-55890 or the next vulnerability affects your stack