CVE-2025-66843
MEDIUM 5.4CVSS 3.1Grav is vulnerable to Stored XSS through authenticated user-edited content
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.
- Published
- 15 Dec 2025
- Last modified
- 14 Oct 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-mh85-44c2-3m97
- Sources
- NVDJSONOSV GHSA-mh85-44c2-3m97JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | getgrav | gravcpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:* |
< 1.7.49.5 | 1.7.49.5 |
| OSV | Packagist | getgrav/grav | <= 1.7.49.5 |
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
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 15 Dec 2025)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 15 Dec 2025)