Vulnerability · Published Aug 18, 2026 · Assigned by VulnCheck
CVE-2026-75831Grav before 2.0.15 Stored XSS via audio/video source URL
High 7.6
In plain English
A high-severity cross-site scripting in grav from getgrav. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 29% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | getgrav/grav | 2.0.15 | GHSA-6qw9-4vv5-jr97 |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
References
- GitHub Security Advisory (GHSA-6qw9-4vv5-jr97) vendor-advisory
- Patch Commit patch
- VulnCheck Advisory: Grav before 2.0.15 Stored XSS via audio/video source URL third-party-advisory