{"affected":[{"defaultStatus":"unaffected","ecosystem":"composer","packageName":"austintoddj/canvas","product":"canvas","source":"CNA: VulnCheck","vendor":"austintoddj","versions":[{"lessThan":"7.2.11","status":"affected","version":"7.0.0","versionType":"semver"}]}],"cveId":"CVE-2026-136406","cwes":["CWE-79"],"description":"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":5.1,"severity":"medium","source":"CNA: VulnCheck","vector":"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","version":"4.0"},{"score":5.4,"severity":"medium","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}],"modifiedAt":1795545955179,"publishedAt":1795545955179,"references":[{"source":"CNA: VulnCheck","tags":["vendor-advisory"],"url":"https://github.com/austintoddj/canvas/security/advisories/GHSA-rwxv-634g-pw9j"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/austintoddj/canvas/commit/5160847d2195196e2147d06b38d68830aff81f58"},{"source":"CNA: VulnCheck","tags":["release-notes"],"url":"https://github.com/austintoddj/canvas/releases/tag/v7.2.11"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/austintoddj/canvas/blob/v7.2.10/src/Support/PostBody.php#L134-L151"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/canvas-7.0.0-before-7.2.11-stored-xss-via-postbody-sanitizer-parser-differential"}],"remediation":[{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/austintoddj/canvas/commit/5160847d2195196e2147d06b38d68830aff81f58"}],"revision":"5b0b7fab26582311d203f6e6104c3dcb67e5cc47ff6078930d46b52a2097433d","sources":[{"modifiedAt":1795545955179,"name":"CNA: VulnCheck","retrievedAt":1795547533681,"url":"https://www.cve.org/CVERecord?id=CVE-2026-136406"}],"ssvc":null,"status":"published","title":"Canvas 7.0.0 before 7.2.11 Stored XSS via PostBody Sanitizer Parser Differential","updatedAt":1795547533681}