CyberRota Analysis
AI-GeneratedGrav's file-based web platform is vulnerable to stored cross-site scripting (XSS) due to an incomplete fix in handling Markdown media attributes, allowing editors to inject unsanitized style parameters into rendered image tags. This could lead to potential exploitation by attackers who can manipulate the Markdown content, impacting the integrity of the web application. Users of Grav versions prior to 2.0.0-rc.9 should prioritize upgrading 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.
Original NVD 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.