CVE-2026-136406
Received Received - Intake

Stored XSS in Canvas CMS via libxml2 Parser Differential

Vulnerability report for CVE-2026-136406, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-24

Last updated on: 2026-11-24

Assigner: VulnCheck

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-24
Last Modified
2026-11-24
Generated
2026-11-24
AI Q&A
2026-11-24
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
austintoddj canvas From 7.0.0 (inc) to 7.2.11 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a stored cross-site scripting (XSS) vulnerability in Canvas versions 7.0.0 to 7.2.10. Authenticated Contributors can inject malicious scripts by exploiting a parser differential between libxml2 and browsers. The issue occurs when slash-separated event handler attributes in posts are rendered unescaped, allowing attackers to hijack Editor or Admin sessions and escalate their role to Admin.

Detection Guidance

To detect this vulnerability, inspect Canvas installations for versions 7.0.0 to 7.2.10. Check for posts containing slash-separated event handlers like onerror/ or onload/. Use commands to review PostBody sanitization and database entries for unescaped HTML. Example: grep -r 'onerror/' /path/to/canvas/posts or review database tables for posts with malicious attributes.

Impact Analysis

An attacker with Contributor access can publish posts containing malicious scripts. When Editors or Admins view these posts, their sessions may be hijacked, allowing the attacker to perform privileged actions like escalating their own role to Admin. This grants access to sensitive features such as user management and integrations.

Compliance Impact

This vulnerability could lead to unauthorized privilege escalation and data access, violating confidentiality and integrity requirements under GDPR and HIPAA. Unauthorized Admin access may result in data breaches, non-compliance with access controls, and failure to protect sensitive user data.

Mitigation Strategies

Upgrade Canvas to version 7.2.11 or later. Run composer update austintoddj/canvas followed by php artisan canvas:migrate and php artisan canvas:publish. Review and clean stored posts for malicious content using stricter validation methods.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-136406. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...