CVE-2026-74908: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in getgrav grav
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.
AI Analysis
Technical Summary
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.
CVE-2026-74908: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in getgrav 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
Affected software
getgrav
grav
pkg:github/getgrav/grav-plugin-apiRun 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
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.
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 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.