{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "2.0.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "8aeea05716276802cb3d658beba22a22c12f1a1f"
            }
          ],
          "repo": "https://github.com/guardian/html-janitor",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "html-janitor node module suffers from an External Control of Critical State Data vulnerability via user-control of the '_sanitized' variable causing sanitization to be bypassed.",
  "id": "CVE-2017-0928",
  "modified": "2026-04-01T23:10:31.607703725Z",
  "published": "2018-06-04T19:29:00.380Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://hackerone.com/reports/308158"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/guardian/html-janitor/issues/35"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}