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

- Severity: Medium 5.1 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-08-18T11:19:38.977Z
- Modified: 2026-10-22T22:10:00.250Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- getgrav grav: before 1.0.15 (not affected: 1.0.15)

## Every score

- VulnCheck: CVSS:4.0 5.1 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 4.6 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N`

## References

- <https://github.com/getgrav/grav/security/advisories/GHSA-66xf-ggf4-6hmc> (vendor-advisory)
- <https://www.vulncheck.com/advisories/grav-plugin-api-before-script-injection-via-svg> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-74908](https://www.cve.org/CVERecord?id=CVE-2026-74908), CVE Terms of Use, modified 2026-08-18
- NVD: [CVE-2026-74908](https://nvd.nist.gov/vuln/detail/CVE-2026-74908), Public domain, modified 2026-10-22

---

Page: https://cve.day/CVE-2026-74908 · Whole record: https://cve.day/CVE-2026-74908.json · Rebuilt by cve.day 2026-11-25T22:59:33.434Z
