CVE-2026-136406
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with a low-privilege account, but needs a user to act. Limited direct impact.
- Exploit odds
- 0.3% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- ReservedThe CVE id was reserved by its CNA
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.3% in the next 30 days (EPSS).
- Severity: 5.1 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.3% · EPSS, next 30 days
- Weakness
- CWE-79 · Cross-site scripting
- Record status
- Received
Affected
- Austintoddj Canvas < 7.2.11
Attack profile CVSS 4.0 · 5.1
- Attack vector
- Network
- Complexity
- Low
- Attack requirements
- None
- Privileges needed
- Low
- User interaction
- Passive
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Raw 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2026-136406.md and follow it. Check whether this project is affected by CVE-2026-136406. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/austintoddj/canvas/commit/5160847d2195196e2147d06b38d68830aff81f58
- https://github.com/austintoddj/canvas/security/advisories/GHSA-rwxv-634g-pw9j
- https://github.com/austintoddj/canvas/releases/tag/v7.2.11
References
- https://github.com/austintoddj/canvas/commit/5160847d2195196e2147d06b38d68830aff81f58
- https://github.com/austintoddj/canvas/security/advisories/GHSA-rwxv-634g-pw9j
- https://github.com/austintoddj/canvas/blob/v7.2.10/src/Support/PostBody.php#L134-L151
- https://github.com/austintoddj/canvas/releases/tag/v7.2.11
- https://www.vulncheck.com/advisories/canvas-7.0.0-before-7.2.11-stored-xss-via-postbody-sanitizer-parser-differential