cvelo
P3 · MediumCVSS 5.4EPSS 0.4%

Grav 2.0.0 before 2.2.18 Stored XSS via SVG and XML Media Uploads

  • CVE-2026-130734
  • GHSA-2rqg-gmwx-8f9j
  • EUVD-2026-128808

Description

Grav from 2.0.0 before 2.2.18 contains a stored cross-site scripting vulnerability that allows users with media upload rights to bypass the upload sanitizer. Attackers can upload SVG files with inner extensions like .svg.defaults, payloads that crash the fail-open sanitizer, or unblocked .xml/.xhtm files to run script when administrators open the raw file URL.

Text from the CVE.org record.

Recommendation

  • getgrav grav

    • If you run a version from 2.0.0 to before 2.2.18update to 2.2.18 or laterMinor version change: check the release notes

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • getgrav grav

    Affected versionsFixed in
    from 2.0.0 to before 2.2.182.2.18

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.