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