GHSA-q8cg-5m48-5c25
Duplicate Advisory: Grav: Stored XSS via Markdown audio/video media <source> URL
Impact
### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-6qw9-4vv5-jr97. This link is maintained to preserve external references. ### Original 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.
An attacker can exploit this over the network, with a regular user account, but a user has to do something, such as open a file or a link. If it succeeds: high risk of data being read, low risk of data or systems being changed. The attack can reach beyond the vulnerable component itself.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | getgrav/grav | < 2.0.15 | none recorded |
Weakness classification
References
- GitHub advisory
- https://github.com/advisories/GHSA-q8cg-5m48-5c25
- https://github.com/getgrav/grav/security/advisories/GHSA-6qw9-4vv5-jr97
- https://nvd.nist.gov/vuln/detail/CVE-2026-75831
- https://github.com/getgrav/grav/commit/aba291a59cab29ddce491175791888d8d0b65e20
- https://www.vulncheck.com/advisories/grav-before-stored-xss-via-audio-video-source-url