PT-2026-56446
CVE-2026-58657
·
Published
2026-07-08
·
Updated
2026-09-16
Description by
CVSS 3.1
4.8
MediumMetricsAV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions
Grav versions prior to 2.0.0
Description
A stored CSS injection exists in the Markdown image
resize() media action. The resize() action within the Excerpts::processMediaActions() function writes caller-controlled values directly into the image's styleAttributes. A lower-privileged content editor can store a crafted image URL containing semicolon-delimited CSS declarations in the resize parameters. These declarations are rendered into the final <img style=...> attribute when a higher-privileged user views the page or preview. This allows for UI redress, overlay, and content-manipulation attacks, such as creating a full-viewport fixed overlay, without requiring JavaScript execution.Recommendations
Update to version 2.0.0.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾