# CVE-2025-66843: Grav is vulnerable to Stored XSS through authenticated user-edited content

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/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): 0.17%, higher than 7% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-12-15T00:00:00.000Z
- Modified: 2026-10-14T13:10:00.187Z
- Also known as: GHSA-mh85-44c2-3m97
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## Description

grav before v1.7.49.5 has a Stored Cross-Site Scripting (Stored XSS) vulnerability in the page editing functionality. An authenticated low-privileged user with permission to edit content can inject malicious JavaScript payloads into editable fields. The payload is stored on the server and later executed when any other user views or edits the affected page.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- getgrav/grav (Packagist): up to 1.7.49.5
- getgrav grav: before 1.7.49.5

## Every score

- CISA-ADP: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/Yohane-Mashiro/grav_cve/issues/1> (exploit, issue-tracking, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-66843> (advisory)
- <https://github.com/getgrav/grav> (package)

## Sources

- CVE List: [CVE-2025-66843](https://www.cve.org/CVERecord?id=CVE-2025-66843), CVE Terms of Use, modified 2025-12-16
- GitHub Advisory Database: [GHSA-mh85-44c2-3m97](https://github.com/advisories/GHSA-mh85-44c2-3m97), CC-BY-4.0, modified 2025-12-17
- NVD: [CVE-2025-66843](https://nvd.nist.gov/vuln/detail/CVE-2025-66843), Public domain, modified 2026-10-14

---

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