{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.7.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "d60bcdc46978357759ecb13cb4b078da783f8faf"
            }
          ],
          "repo": "https://github.com/erusev/parsedown",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "Parsedown before 1.7.2, when safe mode is used and HTML markup is disabled, might allow attackers to execute arbitrary JavaScript code if a script (already running on the affected page) executes the contents of any element with a specific class. This occurs because spaces are permitted in code block infostrings, which interferes with the intended behavior of a single class name beginning with the language- substring.",
  "id": "CVE-2019-10905",
  "modified": "2026-03-13T21:51:43.593808234Z",
  "published": "2019-04-06T20:29:00.447Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/erusev/parsedown/releases/tag/1.7.2"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/erusev/parsedown/issues/699"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}