# CVE-2020-4070: Cross-site Scripting in CSS Validator

- Severity: Medium 4.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/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.55%, higher than 47% of CVEs (2026-12-01)
- Published: 2020-06-22T15:40:12.000Z
- Modified: 2026-06-17T03:19:31.040Z
- Weaknesses: CWE-79
- Assigned by: GitHub_M

## Description

In CSS Validator less than or equal to commit 54d68a1, there is a cross-site scripting vulnerability in handling URIs. A user would have to click on a specifically crafted validator link to trigger it. This has been patched in commit e5c09a9.

(As written by CVE List.)

## Affected

- World Wide Web Consortium (W3C) CSS Validator: <= 54d68a1
- w3c css_validator: up to 2020-01-19

## Every score

- GitHub_M: CVSS:3.1 4.6 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/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`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://github.com/w3c/css-validator/security/advisories/GHSA-wf36-7w73-rh8c> (vendor-advisory)
- <https://github.com/w3c/css-validator/commit/e5c09a9119167d3064db786d5f00d730b584a53b> (patch)

## Sources

- CVE List: [CVE-2020-4070](https://www.cve.org/CVERecord?id=CVE-2020-4070), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-4070](https://nvd.nist.gov/vuln/detail/CVE-2020-4070), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-4070 · Whole record: https://cve.day/CVE-2020-4070.json · Rebuilt by cve.day 2026-11-25T22:57:53.073Z
