CVE-2020-4070

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-4070
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-4070.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2020-4070
Related
  • GHSA-wf36-7w73-rh8c
Published
2020-06-22T16:15:11.963Z
Modified
2025-11-14T11:00:24.103367Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/w3c/css-validator

Affected ranges

Type
GIT
Repo
https://github.com/w3c/css-validator
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

Other

cssval-1-alpha
cssval-201801
cssval-20190320

Database specific

vanir_signatures

[
    {
        "digest": {
            "function_hash": "327506727195512130857608281471890945436",
            "length": 1498.0
        },
        "id": "CVE-2020-4070-27bf7adc",
        "signature_version": "v1",
        "target": {
            "file": "org/w3c/css/css/StyleSheetParser.java",
            "function": "parseURL"
        },
        "source": "https://github.com/w3c/css-validator/commit/e5c09a9119167d3064db786d5f00d730b584a53b",
        "deprecated": false,
        "signature_type": "Function"
    },
    {
        "digest": {
            "line_hashes": [
                "287126531491259831142828594517899965709",
                "166151882237851564633381564464035597352",
                "217623342706874349683039718344875380745",
                "25486391784260251365600363288280579394"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2020-4070-dd4b0a2a",
        "signature_version": "v1",
        "target": {
            "file": "org/w3c/css/css/StyleSheetParser.java"
        },
        "source": "https://github.com/w3c/css-validator/commit/e5c09a9119167d3064db786d5f00d730b584a53b",
        "deprecated": false,
        "signature_type": "Line"
    }
]

source

"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-4070.json"