CVE-2026-136406Canvas 7.0.0 before 7.2.11 Stored XSS via PostBody Sanitizer Parser Differential
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- austintoddj canvas: affected: 7.0.0 to before 7.2.11; fixed in
7.2.11
Vendor advisories:
- https://github.com/austintoddj/canvas/security/advisories/GHSA-rwxv-634g-pw9j (vendor-advisory)
- https://github.com/austintoddj/canvas/commit/5160847d2195196e2147d06b38d68830aff81f58 (patch)
- https://github.com/austintoddj/canvas/releases/tag/v7.2.11 (release-notes)
References
- https://github.com/austintoddj/canvas/security/advisories/GHSA-rwxv-634g-pw9j
- https://github.com/austintoddj/canvas/commit/5160847d2195196e2147d06b38d68830aff81f58
- https://github.com/austintoddj/canvas/releases/tag/v7.2.11
- https://github.com/austintoddj/canvas/blob/v7.2.10/src/Support/PostBody.php#L134-L151
- https://www.vulncheck.com/advisories/canvas-7.0.0-before-7.2.11-stored-xss-via-postbody-sanitizer-parser-differential
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.