XSS in Getgrav Grav

CVE-2025-65186

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.002 (9.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-65186?
CVE-2025-65186 is a medium-severity vulnerability in Getgrav Grav, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2025-12-02.
How severe is CVE-2025-65186?
Medium severity. CVSS v3 base score is 6.1 out of 10.