What’s Vulnerable › Vulnerabilities

CVE-2026-74908: Grav plugin-api before 1.0.15 Script Injection via SVG

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.

Affected products

How to fix

Upgrade to a fixed version: getgrav grav 1.0.15. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-74908 or the next vulnerability affects your stack