# CVE-2025-65186: Grav CMS is vulnerable to Cross Site Scripting (XSS) in the page editor

- Severity: Medium 6.1 (CVSS:3.1, scored by CISA-ADP) `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): 0.37%, higher than 23% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-12-02T00:00:00.000Z
- Modified: 2026-11-04T23:10:00.223Z
- Also known as: GHSA-cchq-397m-q2qm
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## Description

Grav CMS 1.7.49 is vulnerable to Cross Site Scripting (XSS). The page editor allows authenticated users to edit page content via a Markdown editor. The editor fails to properly sanitize <script> tags, allowing stored XSS payloads to execute when pages are viewed in the admin interface.

(As written by CVE List.)

## Affected

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

## Every score

- CISA-ADP: 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`
- 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`

## References

- <https://github.com/lukehebe/Vulnerability-Disclosures/blob/main/CVE-2025-65186.pdf> (exploit, third-party-advisory, web)
- <https://github.com/getgrav/grav> (package, product)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-65186> (advisory)

## Sources

- CVE List: [CVE-2025-65186](https://www.cve.org/CVERecord?id=CVE-2025-65186), CVE Terms of Use, modified 2025-12-02
- GitHub Advisory Database: [GHSA-cchq-397m-q2qm](https://github.com/advisories/GHSA-cchq-397m-q2qm), CC-BY-4.0, modified 2025-12-03
- NVD: [CVE-2025-65186](https://nvd.nist.gov/vuln/detail/CVE-2025-65186), Public domain, modified 2026-11-04

---

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