CVE-2026-55890
MEDIUM 4.8CVSS 3.1Grav: Stored CSS injection via Markdown image ?style=… reaches MediaObjectTrait::style() — incomplete patch of GHSA-r7fx-8g49-7hhr
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.
- Published
- 10 Jul 2026
- Last modified
- 25 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-79
- Also known as
- GHSA-pmf8-g7c8-7v54
- Sources
- NVDJSONOSV GHSA-pmf8-g7c8-7v54JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | getgrav/grav | < 2.0.0-rc.9 | 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 · WEB
- https://github.com/getgrav/grav/commit/5a12f9be8 · WEB
- https://github.com/getgrav/grav · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 10 Jul 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 18 Jun 2026)