CVE-2026-55890
Grav: Stored CSS injection via Markdown image ?style=… reaches MediaObjectTrait::style() — incomplete patch of GHSA-r7fx-8g49-7hhr
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem Administratorkonto, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Bei Erfolg: geringes Risiko, dass Daten ausgelesen werden, geringes Risiko, dass Daten oder Systeme verändert werden. Der Angriff kann über die verwundbare Komponente hinaus wirken.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| composer | getgrav/grav | <= 2.0.0-rc.8 | 2.0.0-rc.9 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/advisories/GHSA-pmf8-g7c8-7v54
- https://github.com/getgrav/grav/security/advisories/GHSA-pmf8-g7c8-7v54
- https://github.com/getgrav/grav/commit/5a12f9be8
- https://github.com/getgrav/grav/commit/24fd6cbc438e12310b126d1176e7d7601203a6f2
- https://github.com/getgrav/grav/releases/tag/2.0.0-rc.9