Skip to main content
EPSS 0.4%top 74%

CVE-2026-75831: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in getgrav grav

0
Medium
VulnerabilityCVE-2026-75831cvecve-2026-75831
Published: 08/18/2026 (08/18/2026, 11:19:43 UTC)
Source: CVE Database V5
Vendor/Project: getgrav
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
None
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

Affected software

getgrav

grav

Affected versions
>=0 <2.0.15
GitHub Actionsmore threats →ai
getgrav/grav
pkg:github/getgrav/grav
Affected versions
<2.0.15

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

AILast updated: 09/11/2026, 23:18:10 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses