CVE-2026-74908 Grav plugin-api before 1.0.15 Script Injection via SVG
Attackers with media write permissions can upload malicious SVG files to execute scripts in the site origin, potentially compromising administrators or visitors.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-74908?
CVE-2026-74908 is a medium-severity cross-site scripting vulnerability in getgrav grav, published on 18 Aug 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2026-74908?
How do I fix CVE-2026-74908?
No fix has been published for CVE-2026-74908 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-74908 being exploited?
There is no known exploitation of CVE-2026-74908 in the wild and no public exploit code.
Sources
Also known as GHSA-88pj-3rjg-jjc5.