CVE-2026-75831: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in getgrav grav
Grav versions prior to 2.0.15 contain a stored cross-site scripting (XSS) vulnerability in the audio and video media rendering functionality. This flaw occurs because the media URL fragment is concatenated without proper escaping into raw HTML source elements, enabling attackers to inject arbitrary HTML and JavaScript that execute in the context of users' sessions.
AI Analysis
Technical Summary
CVE-2026-75831 is a stored cross-site scripting vulnerability affecting Grav CMS before version 2.0.15. The vulnerability exists in the sourceParsedownElement method used for rendering audio and video media. Specifically, the media URL fragment is inserted into raw HTML source elements without proper neutralization, allowing malicious actors to inject arbitrary HTML and JavaScript code. This code executes in the browsers of users viewing the affected content, potentially leading to session hijacking or other client-side attacks.
Potential Impact
Successful exploitation allows attackers to execute arbitrary JavaScript in the context of the victim's browser session when viewing affected media elements. This can lead to theft of session tokens, defacement, or other client-side impacts. The vulnerability requires user interaction (UI:P) and low privileges (PR:L) but no authentication or elevated privileges are needed to trigger the flaw.
Mitigation Recommendations
A fix is available in Grav version 2.0.15. Users should upgrade to version 2.0.15 or later to remediate this vulnerability. No additional mitigations are indicated by the vendor advisory. Patch status is confirmed by the versioning information indicating the vulnerability is fixed starting from 2.0.15.
CVE-2026-75831: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in getgrav grav
Description
Grav versions prior to 2.0.15 contain a stored cross-site scripting (XSS) vulnerability in the audio and video media rendering functionality. This flaw occurs because the media URL fragment is concatenated without proper escaping into raw HTML source elements, enabling attackers to inject arbitrary HTML and JavaScript that execute in the context of users' sessions.
CVSS v4.0
Score 5.1medium
Affected software
getgrav
grav
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-75831 is a stored cross-site scripting vulnerability affecting Grav CMS before version 2.0.15. The vulnerability exists in the sourceParsedownElement method used for rendering audio and video media. Specifically, the media URL fragment is inserted into raw HTML source elements without proper neutralization, allowing malicious actors to inject arbitrary HTML and JavaScript code. This code executes in the browsers of users viewing the affected content, potentially leading to session hijacking or other client-side attacks.
Potential Impact
Successful exploitation allows attackers to execute arbitrary JavaScript in the context of the victim's browser session when viewing affected media elements. This can lead to theft of session tokens, defacement, or other client-side impacts. The vulnerability requires user interaction (UI:P) and low privileges (PR:L) but no authentication or elevated privileges are needed to trigger the flaw.
Mitigation Recommendations
A fix is available in Grav version 2.0.15. Users should upgrade to version 2.0.15 or later to remediate this vulnerability. No additional mitigations are indicated by the vendor advisory. Patch status is confirmed by the versioning information indicating the vulnerability is fixed starting from 2.0.15.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-18T10:57:39.580Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a844366c6e8be03322294f0
Added to database: 08/18/2026, 11:35:02 UTC
Last enriched: 09/11/2026, 23:18:10 UTC
Last updated: 10/02/2026, 06:18:53 UTC
Views: 47
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.