{"id":"CVE-2026-55890","state":"PUBLISHED","title":"Grav: Stored CSS injection via Markdown image ?style=… reaches MediaObjectTrait::style()","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.","publishedAt":"2026-07-10T16:17:14.238Z","updatedAt":"2026-07-10T18:39:18.467Z","severity":{"score":4.8,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["getgrav grav"],"affected":[{"vendor":"getgrav","product":"grav","versions":[{"version":"< 2.0.0-rc.9","status":"affected"}]}],"references":["https://github.com/getgrav/grav/security/advisories/GHSA-pmf8-g7c8-7v54","https://github.com/getgrav/grav/commit/24fd6cbc438e12310b126d1176e7d7601203a6f2","https://github.com/getgrav/grav/releases/tag/2.0.0-rc.9"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/55xxx/CVE-2026-55890.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-55890","state":"PUBLISHED","datePublished":"2026-07-10T16:17:14.238Z","dateUpdated":"2026-07-10T18:39:18.467Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-17T16:59:42.760Z"},"containers":{"cna":{"title":"Grav: Stored CSS injection via Markdown image ?style=… reaches MediaObjectTrait::style()","descriptions":[{"lang":"en","value":"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":[{"vendor":"getgrav","product":"grav","versions":[{"version":"< 2.0.0-rc.9","status":"affected"}]}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-pmf8-g7c8-7v54","name":"https://github.com/getgrav/grav/security/advisories/GHSA-pmf8-g7c8-7v54","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/getgrav/grav/commit/24fd6cbc438e12310b126d1176e7d7601203a6f2","name":"https://github.com/getgrav/grav/commit/24fd6cbc438e12310b126d1176e7d7601203a6f2","tags":["x_refsource_MISC"]},{"url":"https://github.com/getgrav/grav/releases/tag/2.0.0-rc.9","name":"https://github.com/getgrav/grav/releases/tag/2.0.0-rc.9","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.8,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-10T16:17:14.238Z"},"source":{"advisory":"GHSA-pmf8-g7c8-7v54","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-pmf8-g7c8-7v54","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-10T18:39:15.530035Z","id":"CVE-2026-55890","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-10T18:39:18.467Z"}}]}}}