CVE-2026-74908
JSON

5.1medium

Grav plugin-api before 1.0.15 Script Injection via SVG

Severity
5.1medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.18% (higher than 8% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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

Product or packageVersionsReported by
getgrav gravbefore 1.0.15
Not affected: 1.0.15
CVE List

All scores

VulnCheck5.1medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
VulnCheck4.6medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

La API del plugin Grav anterior a 1.0.15 contiene una vulnerabilidad de inyección de scripts donde el sanitizador SVG solo verifica la extensión exacta ’svg’, permitiendo que los archivos .svgz y .xhtml omitan la sanitización y se almacenen sin sanear. Atacantes con permiso api.media.write pueden subir archivos que contengan cargas útiles de scripts ejecutables que se ejecutan en el origen del sitio cuando son accedidos por administradores o visitantes.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-74908 changed 2026-08-18CVE Terms of Use
NVDCVE-2026-74908 changed 2026-10-22Public domain