7.6highHigh
CVE-2026-75831
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.
What the metrics mean
- It is reachable over a network, without needing local access.
- For an attacker who can reach it, no special conditions are needed to exploit it.
- To exploit it, an ordinary user account is needed.
- Beyond that, someone has to be persuaded to take an action first.
Scoring
- CVSS
- 7.6 (v3.1)
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N- CVSS v4
- 5.1
- Weakness
- CWE-79
- Assigned by
- disclosure@vulncheck.com
Dates
- Published
- 2026-08-18
- Last modified
- 2026-09-08
- Sources
- NVD
References
- https://github.com/getgrav/grav/commit/aba291a59cab29ddce491175791888d8d0b65e20
- https://github.com/getgrav/grav/security/advisories/GHSA-6qw9-4vv5-jr97
- 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