# CVE-2019-16126: Cross-site Scripting in Grav

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A: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): 1.54%, higher than 75% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2019-09-09T01:01:23.000Z
- Modified: 2026-06-17T02:21:43.400Z
- Also known as: GHSA-6268-v434-45m5
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

Grav through 1.6.15 allows (Stored) Cross-Site Scripting due to JavaScript execution in SVG images.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- getgrav/grav (Packagist): before 1.7.0-beta.8
- getgrav grav_cms: up to 1.6.15

## Every score

- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/getgrav/grav/issues/2657> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-16126> (advisory)

## Sources

- CVE List: [CVE-2019-16126](https://www.cve.org/CVERecord?id=CVE-2019-16126), CVE Terms of Use, modified 2024-08-05
- GitHub Advisory Database: [GHSA-6268-v434-45m5](https://github.com/advisories/GHSA-6268-v434-45m5), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2019-16126](https://nvd.nist.gov/vuln/detail/CVE-2019-16126), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-16126 · Whole record: https://cve.day/CVE-2019-16126.json · Rebuilt by cve.day 2026-11-25T22:57:46.861Z
