Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-4070

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-4070
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:41 UTC · Revision 1

Source evidence

CVE-2020-4070

core-osv · Original source

Published 22 Jun 2020, 16:15 UTC

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.

osv:CVE-2020-4070
Complete source record
{
  "id": "939a844043c2d1e244f3c4f6caa288c7fd0903735028f7add679098f5884194a",
  "url": "https://osv.dev/vulnerability/CVE-2020-4070",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-4070",
    "summary": "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.",
    "evidence": "osv:CVE-2020-4070",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-4070",
      "aliases": [
        "CVE-2020-4070",
        "GHSA-wf36-7w73-rh8c"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/w3c/css-validator",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "e5c09a9"
                },
                {
                  "fixed": "e5c09a9119167d3064db786d5f00d730b584a53b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "e5c09a9"
                      }
                    ],
                    "source": "DESCRIPTION"
                  },
                  {
                    "range": [
                      {
                        "fixed": "e5c09a9119167d3064db786d5f00d730b584a53b"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "cssval-20190320",
            "cssval-201801",
            "cssval-1-alpha"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-4070.json",
            "vanir_signatures": [
              {
                "id": "CVE-2020-4070-27bf7adc",
                "digest": {
                  "length": 1498,
                  "function_hash": "327506727195512130857608281471890945436"
                },
                "source": "https://github.com/w3c/css-validator/commit/e5c09a9119167d3064db786d5f00d730b584a53b",
                "target": {
                  "file": "org/w3c/css/css/StyleSheetParser.java",
                  "function": "parseURL"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2020-4070-dd4b0a2a",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "287126531491259831142828594517899965709",
                    "166151882237851564633381564464035597352",
                    "217623342706874349683039718344875380745",
                    "25486391784260251365600363288280579394"
                  ]
                },
                "source": "https://github.com/w3c/css-validator/commit/e5c09a9119167d3064db786d5f00d730b584a53b",
                "target": {
                  "file": "org/w3c/css/css/StyleSheetParser.java"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T14:13:58Z"
          }
        }
      ],
      "modified": "2026-10-20T14:13:58.838282939Z",
      "provider": "osv",
      "references": [
        "https://github.com/w3c/css-validator/security/advisories/GHSA-wf36-7w73-rh8c",
        "https://github.com/w3c/css-validator/commit/e5c09a9119167d3064db786d5f00d730b584a53b"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:w3c:css_validator:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "w3c:css_validator",
            "extracted_events": [
              {
                "range": [
                  {
                    "last_affected": "2020-01-19"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2020-4070",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388734,
  "published_at": "2020-06-22T16:15:11.963+00:00"
}