Skip to main content
EPSS 0.3%top 85%

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

0
Medium
VulnerabilityCVE-2026-74908cvecve-2026-74908
Published: 08/18/2026 (08/18/2026, 11:19:38 UTC)
Source: CVE Database V5
Vendor/Project: getgrav
Product: grav

Description

CVE-2026-74908 is a cross-site scripting (XSS) vulnerability in the Grav plugin-api before version 1.0.15. The issue arises because the SVG sanitizer only validates files with the exact '.svg' extension, allowing files with '.svgz' and '.xhtml' extensions to bypass sanitization. Attackers with api.media.write permission can upload malicious files containing executable scripts that run in the context of the site when accessed by administrators or visitors.

CVSS v4.0

Score 5.1medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Affected software

getgrav

grav

Affected versions
>=0 <1.0.15
GitHub Actionsmore threats →ai
getgrav/grav-plugin-api
pkg:github/getgrav/grav-plugin-api
Affected versions
<1.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:18 UTC

Technical Analysis

The Grav plugin-api versions prior to 1.0.15 contain a script injection vulnerability due to improper input neutralization during web page generation. The SVG sanitizer only checks for the '.svg' extension, which allows '.svgz' and '.xhtml' files to bypass sanitization and be stored unsanitized. This enables attackers with api.media.write permissions to upload files with executable script payloads that execute in the site origin context when accessed.

Potential Impact

An attacker with api.media.write permissions can upload malicious files that execute scripts in the context of the site, potentially leading to cross-site scripting attacks affecting administrators or visitors. This can result in unauthorized actions or data exposure within the site origin. The CVSS 4.0 score is 5.1, indicating a medium severity vulnerability.

Mitigation Recommendations

A fix is available in Grav plugin-api version 1.0.15. Users should upgrade to version 1.0.15 or later to remediate this vulnerability. No additional mitigation steps are indicated.

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-17T10:48:45.738Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a844364c6e8be03322294aa

Added to database: 08/18/2026, 11:35:00 UTC

Last enriched: 09/11/2026, 23:18:18 UTC

Last updated: 10/02/2026, 14:46:10 UTC

Views: 57

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