Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/austintoddj/canvas/blob/v7.2.10/src/Support/PostBody.php#L134
- https://github.com/austintoddj/canvas/commit/5160847d2195196e2147d06b38d68830aff
- https://github.com/austintoddj/canvas/releases/tag/v7.2.11
- https://github.com/austintoddj/canvas/security/advisories/GHSA-rwxv-634g-pw9j
- https://www.vulncheck.com/advisories/canvas-7.0.0-before-7.2.11-stored-xss-via-p
FAQ
What is CVE-2026-136406?
CVE-2026-136406 is a vulnerability with a CVSS score of 5.4 (MEDIUM). 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(...
How severe is CVE-2026-136406?
CVE-2026-136406 has been rated MEDIUM with a CVSS base score of 5.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-136406?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.