Script Injection Vulnerability in Grav Plugin by Grav
CVE-2026-74908

5.1MEDIUM

Key Information:

Vendor

Getgrav

Status
Vendor
CVE Published:
18 August 2026

What is CVE-2026-74908?

The Grav plugin-api prior to version 1.0.15 is susceptible to a script injection vulnerability due to inadequate validation of file types. The SVG sanitizer only checks for the '.svg' extension, failing to properly sanitize '.svgz' and '.xhtml' files. This oversight allows attackers with 'api.media.write' permission to upload harmful files containing executable scripts. When these files are accessed by site administrators or visitors, the scripts can execute in the site origin, potentially leading to unauthorized actions and data breaches.

Affected Version(s)

grav 0 < 1.0.15

grav 1.0.15

References

CVSS V4

Score:
5.1
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

arpitjain099
.