Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

Grav plugin-api before 1.0.15 contains a script injection vulnerability where the SVG sanitizer only checks for the exact extension 'svg', allowing .svgz and .xhtml files to bypass sanitization and be stored unsanitized. Attackers with api.media.write permission can upload files containing executable script payloads that execute in the site origin 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

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: 08/18/2026, 12:06:20 UTC

Technical Analysis

The Grav plugin-api prior to version 1.0.15 contains a script injection vulnerability due to improper input neutralization during web page generation. Specifically, the SVG sanitizer only checks for the '.svg' file extension, which allows files with '.svgz' and '.xhtml' extensions to bypass sanitization. This enables attackers who have api.media.write permissions to upload files with embedded executable script payloads. When these files are accessed by administrators or visitors, the scripts execute within the site's origin context, leading to potential cross-site scripting attacks.

Potential Impact

Successful exploitation allows attackers with limited write permissions to upload malicious files that execute scripts in the context of the vulnerable site. This can lead to unauthorized script execution affecting administrators and visitors, potentially resulting in session hijacking, defacement, or other client-side attacks. The CVSS score of 5.1 reflects a medium severity with network attack vector, low complexity, and limited privileges required.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict api.media.write permissions to trusted users only and monitor uploads for suspicious file types. Avoid accessing or rendering untrusted SVGZ or XHTML files within the site origin.

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
Remediation Level
null

Threat ID: 6a844364c6e8be03322294aa

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

Last enriched: 08/18/2026, 12:06:20 UTC

Last updated: 08/18/2026, 19:53:45 UTC

Views: 5

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