{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.12.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "51ca4b713f3706d6b27769c6296bbc0c28a5bbd0"
            }
          ],
          "repo": "https://github.com/darylldoyle/svg-sanitizer",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "darylldoyle svg-sanitizer before 0.12.0 mishandles script and data values in attributes, as demonstrated by unexpected whitespace such as in the javascript\u0026#9;:alert substring.",
  "id": "CVE-2019-18857",
  "modified": "2026-03-13T21:54:40.196104371Z",
  "published": "2019-11-11T15:15:12.530Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/darylldoyle/svg-sanitizer/compare/0.11.0...0.12.0"
    },
    {
      "type": "FIX",
      "url": "https://github.com/darylldoyle/svg-sanitizer/commit/51ca4b713f3706d6b27769c6296bbc0c28a5bbd0"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    }
  ]
}