# CVE-2023-31506: Cross-site scripting (XSS) vulnerability in Grav

- 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): 1.00%, higher than 63% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-02-09T00:00:00.000Z
- Modified: 2026-09-10T03:50:00.294Z
- Also known as: GHSA-xrf8-cmrg-7436
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

A cross-site scripting (XSS) vulnerability in Grav versions 1.7.44 and before, allows remote authenticated attackers to execute arbitrary web scripts or HTML via the onmouseover attribute of an ISINDEX element.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- getgrav/grav (Packagist): all versions
- getgrav grav: up to 1.7.44

## 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://m3n0sd0n4ld.github.io/patoHackventuras/cve-2023-31506> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-31506> (advisory)
- <https://github.com/getgrav/grav> (package)

## Sources

- CVE List: [CVE-2023-31506](https://www.cve.org/CVERecord?id=CVE-2023-31506), CVE Terms of Use, modified 2025-06-16
- GitHub Advisory Database: [GHSA-xrf8-cmrg-7436](https://github.com/advisories/GHSA-xrf8-cmrg-7436), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-31506](https://nvd.nist.gov/vuln/detail/CVE-2023-31506), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-31506 · Whole record: https://cve.day/CVE-2023-31506.json · Rebuilt by cve.day 2026-11-25T22:58:32.656Z
