SEPTEMBER 20, 2026
Live Feed
Back to database
Case File

CVE-2026-58657

MEDIUM · CVSS 4.8 EPSS 0.22% Public Exploit

Source: NVD + CISA KEV + EPSS · Published 2026-07-08 · Last synced 2026-08-07

CyberRota Analysis

AI-Generated

Grav versions prior to 2.0.0 are vulnerable to a stored CSS injection in the Markdown image resize() function, allowing lower-privileged content editors to inject malicious CSS into image attributes. This vulnerability can lead to UI redress and content manipulation attacks when higher-privileged users view the affected content. Organizations using Grav should prioritize upgrading to version 2.0.0 to mitigate this risk.

Public Exploit Signal

A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.

Note: these links are listed for security research and verification purposes only.

CVE
CVE-2026-58657
Severity
MEDIUM
CVSS
4.8
EPSS
0.22%
Java

Original NVD Description

Grav before 2.0.0 (affected through 2.0.0-rc.9 and the 2.0 branch) contains a stored CSS injection vulnerability in the Markdown image resize() media action. Prior media hardening rejects direct ?style= payloads and unsafe attribute() fallbacks, but the resize() action in Excerpts::processMediaActions() writes caller-controlled values directly into the image's styleAttributes. A lower-privileged content editor who can edit page Markdown can store a crafted image URL with semicolon-delimited CSS declarations in the resize parameters, which are rendered into the final <img style=...> attribute when a higher-privileged reviewer/admin views the page or preview. This does not require JavaScript execution but enables UI redress/overlay and content-manipulation attacks (e.g., a full-viewport fixed overlay). Fixed in 2.0.0.