# CVE-2025-46198: Cross Site Scripting vulnerability in grav v.1.7.48, v.1.7.47 and v.1.7.46 allows an attacker to execute arbitrary code via the onerror att…

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- 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.73%, higher than 55% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-07-25T00:00:00.000Z
- Modified: 2026-06-17T09:26:01.993Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## Description

Cross Site Scripting vulnerability in grav v.1.7.48, v.1.7.47 and v.1.7.46 allows an attacker to execute arbitrary code via the onerror attribute of the img element

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- getgrav grav: from 1.7.46 up to 1.7.48

## References

- <https://rapid-echo-f9c.notion.site/Grav-XSS-1dbaf8998a078072bb30ffc9b9e7ab4a?pvs=4> (exploit, mitigation, third-party-advisory)
- <https://tyojong.tistory.com/1> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2025-46198](https://www.cve.org/CVERecord?id=CVE-2025-46198), CVE Terms of Use, modified 2025-07-25
- NVD: [CVE-2025-46198](https://nvd.nist.gov/vuln/detail/CVE-2025-46198), Public domain, modified 2026-06-17

---

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