{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "5160847d2195196e2147d06b38d68830aff81f58"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v7.2.11",
                "range": [
                  {
                    "fixed": "5160847d2195196e2147d06b38d68830aff81f58"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5160847d2195196e2147d06b38d68830aff81f58"
            }
          ],
          "repo": "https://github.com/austintoddj/canvas",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-rwxv-634g-pw9j"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136406.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "introduced": "7.0.0"
              },
              {
                "fixed": "7.2.11"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
          }
        ]
      },
      {
        "extracted_events": [
          {
            "range": [
              {
                "introduced": "7.0.0"
              },
              {
                "fixed": "7.2.11"
              }
            ],
            "source": "DESCRIPTION"
          }
        ]
      }
    ]
  },
  "details": "Canvas 7.0.0 before 7.2.11 contains a stored cross-site scripting vulnerability that allows authenticated Contributors to inject scripts by exploiting a libxml2 parser differential in PostBody::clean(). Attackers can publish posts with slash-separated event handler attributes rendered unescaped in show.blade.php, hijacking Editor or Admin sessions to escalate their role to Admin.",
  "id": "CVE-2026-136406",
  "modified": "2026-11-24T19:45:58.750506252Z",
  "published": "2026-11-24T18:45:55.179Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136406.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/austintoddj/canvas"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/austintoddj/canvas/blob/v7.2.10/src/Support/PostBody.php#L134-L151"
    },
    {
      "type": "FIX",
      "url": "https://github.com/austintoddj/canvas/commit/5160847d2195196e2147d06b38d68830aff81f58"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/austintoddj/canvas/releases/tag/v7.2.11"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/austintoddj/canvas/security/advisories/GHSA-rwxv-634g-pw9j"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-136406"
    },
    {
      "type": "WEB",
      "url": "https://packagist.org"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/canvas-7.0.0-before-7.2.11-stored-xss-via-postbody-sanitizer-parser-differential"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Canvas 7.0.0 before 7.2.11 Stored XSS via PostBody Sanitizer Parser Differential"
}