# CVE-2026-55890: Grav: Stored CSS injection via Markdown image ?style=… reaches MediaObjectTrait::style()

- Severity: Medium 4.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-18T14:49:19.000Z
- Modified: 2026-10-25T15:10:00.147Z
- Also known as: GHSA-pmf8-g7c8-7v54
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- getgrav grav: < 2.0.0-rc.9
- getgrav/grav (Packagist): before 2.0.0-rc.9

## Every score

- GitHub_M: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/getgrav/grav/security/advisories/GHSA-pmf8-g7c8-7v54> (exploit, web)
- <https://github.com/getgrav/grav/commit/24fd6cbc438e12310b126d1176e7d7601203a6f2>
- <https://github.com/getgrav/grav/releases/tag/2.0.0-rc.9>
- <https://github.com/getgrav/grav/commit/5a12f9be8> (web)
- <https://github.com/getgrav/grav> (package)

## Sources

- CVE List: [CVE-2026-55890](https://www.cve.org/CVERecord?id=CVE-2026-55890), CVE Terms of Use, modified 2026-07-10
- GitHub Advisory Database: [GHSA-pmf8-g7c8-7v54](https://github.com/advisories/GHSA-pmf8-g7c8-7v54), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-55890](https://nvd.nist.gov/vuln/detail/CVE-2026-55890), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-55890 · Whole record: https://cve.day/CVE-2026-55890.json · Rebuilt by cve.day 2026-11-25T22:59:27.651Z
