CVE-2021-3904 json
Cross-site Scripting (XSS) - Stored in getgrav/grav
published 2021-10-27 5 y ago modified 2026-06-17 4 mo ago also GHSA-5jxc-hmqf-3f73 , EUVD-2021-2302
- cvss
- 6.3
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 48%
- public exploits
- 0
- none known
Summary
grav is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Patch / fix
- packagist getgrav/grav 1.7.24
- getgrav getgrav/grav 1.7.24
Exploit prediction
0.59% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- huntr.dev https://huntr.dev/bounties/b1182515-d911-4da9-b4f7-b4c341a62a8d referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 6.3 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| GitHub | 3.0 | 6.3 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | getgrav/grav | <1.7.24 |
1.7.24 |
Affected products
- getgrav getgrav/grav
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/getgrav/grav/commit/afc69a3229bb6fe120b2c1ea27bc6f196ed7284d
web, patch, third-party-advisory
-
huntr.dev
/bounties/b1182515-d911-4da9-b4f7-b4c341a62a8d
web, exploit, issue-tracking, patch, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-3904
advisory
-
github.com
/getgrav/grav
web
Sources
- CVE List CVE-2021-3904
- GitHub Advisory GHSA-5jxc-hmqf-3f73
- NVD CVE-2021-3904
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.