Grav before 2.0.15 contains a stored cross-site scripting vulnerability in the audio and video media rendering through the sourceParsedownElement method. The media URL fragment is concatenated unescaped into rawHtml source elements, allowing attackers to inject arbitrary HTML and JavaScript that executes in viewers' sessions.
https://www.vulncheck.com/advisories/grav-before-stored-xss-via-audio-video-source-url
https://github.com/getgrav/grav/security/advisories/GHSA-6qw9-4vv5-jr97
https://github.com/getgrav/grav/commit/aba291a59cab29ddce491175791888d8d0b65e20
Published: 2026-08-18
Updated: 2026-09-08
Base Score: 7.5
Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:P/A:N
Severity: High
Base Score: 7.6
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
Severity: High
Base Score: 5.1
Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Severity: Medium
EPSS: 0.00252