Skip to main content

Drupal Canvas CVE-2026-58587

| EUVDEUVD-2026-43069 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-10 drupal GHSA-vx3g-w5hr-294x
6.1
CVSS 3.1 · Vendor: drupal
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Drupal site with Canvas module installed
  2. Delivery
    Inject XSS payload into canvas input or URL parameter
  3. Exploit
    Craft and deliver malicious link to privileged victim
  4. Execution
    Victim loads canvas-rendered page
  5. Persist
    Injected script executes in victim browser
  6. Impact
    Exfiltrate session token or perform authenticated action

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target Drupal installation has the Drupal Canvas contributed module installed and enabled, running one of the affected version ranges (0.0.0-1.4.2, 1.5.0-1.5.2, 1.6.0-1.6.1, or 1.7.0-1.7.1). The CVSS vector (PR:N) confirms the attacker does not need to be authenticated to craft or deliver the malicious payload. However, UI:R confirms that a victim user must take an action - such as loading a page, following a link, or previewing canvas content - for the injected script to execute. Exploitation is strictly limited to Drupal sites with this specific contributed module; sites running Drupal core without this module are entirely unaffected. The specific canvas input field or rendering context that lacks output encoding is not detailed in available data and should be confirmed via the vendor advisory.

Impact

The CVSS 6.1 Medium score reflects a network-accessible (AV:N), low-complexity (AC:L), unauthenticated attacker path (PR:N) with required victim interaction (UI:R) and scope change (S:C), yielding low confidentiality and integrity impacts. EPSS at 0.20% (10th percentile) is notably low, indicating limited observed exploitation in the wild despite broad exposure. There is no CISA KEV listing and no public exploit code identified at time of analysis, making this a low-urgency but genuine risk for affected deployments. Because this is a contributed module rather than Drupal core, the real-world attack surface is constrained to the subset of Drupal sites that have explicitly installed Drupal Canvas - significantly narrowing the population at risk compared to a core Drupal vulnerability. For those sites, however, the absence of privilege requirements on the attacker side and the potential for session hijacking makes patching a genuine priority. CVSS signals and EPSS are broadly consistent: a real but not yet actively exploited medium-severity flaw.

Exploit ScenarioDerived

An attacker identifies a Drupal site running an affected version of the Canvas module and crafts a payload embedding malicious JavaScript within a canvas field or parameter that is stored or reflected without sanitization. The attacker then socially engineers a site user - such as an editor or administrator - into loading a page or preview URL containing the injected script, causing the script to execute in the victim's browser and exfiltrate their session cookie or perform authenticated actions on their behalf. No public proof-of-concept code has been identified at time of analysis, but the attack technique is well-understood for CWE-79 class vulnerabilities.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 13, 2026

Cross-site scripting in the Drupal Canvas contributed module allows unauthenticated remote attackers to inject and execute malicious scripts in victims' browsers across multiple version branches (0.0.0-1.4.2, 1.5.0-1.5.2, 1.6.0-1.6.1, 1.7.0-1.7.1). The scope-changed CVSS vector (S:C) confirms the attack escapes the server context and executes within the victim's browser environment, enabling session theft, credential harvesting, or unauthorized actions on behalf of the victim. No public exploit or CISA KEV listing has been identified, and EPSS at 0.20% (10th percentile) reflects minimal observed exploitation activity at time of analysis.

RemediationAI

The primary remediation is to upgrade Drupal Canvas to a patched release per the vendor advisory at https://www.drupal.org/sa-contrib-2026-065. The patch is confirmed available from the vendor (Drupal security team), but exact fixed version numbers are not independently confirmed in the available data - consult the advisory directly to identify the correct target version for each branch (post-1.4.2, post-1.5.2, post-1.6.1, and post-1.7.1 respectively). If immediate upgrade is operationally blocked, disable the Drupal Canvas module entirely until patching is possible - this eliminates the attack surface at the cost of losing canvas-based content editing functionality. As an additional compensating control, restrict content-creation and canvas-editing permissions to trusted authenticated roles via Drupal's permission system; while the CVSS PR:N indicates no attacker authentication is required, limiting who can submit canvas input reduces the injection surface. Content Security Policy (CSP) headers configured to restrict inline script execution can reduce the impact of successful XSS, though they are not a substitute for patching.

Affected VersionsENISA

Drupal Canvas 0.0.0 <1.4.2
Drupal Canvas 1.5.0 <1.5.2
Drupal Canvas 1.7.0 <1.7.1
Drupal Canvas 1.6.0 <1.6.1

Affected Packages

composer drupal/canvas fix: 1.4.2, 1.5.2, 1.6.1, 1.7.1
euvd drupal_canvas fix: 1.4.2, 1.5.2, 1.6.1, 1.7.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-79 (Improper Neutralization of Input During Web Page Generation) indicates that user-controlled input processed by the Drupal Canvas module is not adequately sanitized or escaped before being rendered in HTML output. Drupal Canvas is a contributed module for the Drupal CMS that provides visual canvas-based page building or content composition capabilities; it is not part of Drupal core. The CPE identifier cpe:2.3:a:drupal:drupal_canvas:*:*:*:*:*:*:*:* covers all platform variants of the module. The XSS class (CWE-79) typically arises when canvas element settings, user-supplied labels, or embedded content values are reflected or stored without proper HTML encoding. The S:C (Scope Changed) metric in the CVSS vector is canonical for XSS - the vulnerable component is the server-side application, while the impact materialises in the victim's browser, a distinct security scope.

Know when Drupal Canvas gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (drupal) PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 6.1 MEDIUM

Standard reflected/stored XSS pattern: network-accessible, no attacker auth, victim interaction required, browser-scope impact with no availability loss.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (drupal).

CVSS VectorVendor: drupal

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

3
CVSS changed
Jul 13, 2026 - 19:07 NVD
6.1 (MEDIUM)
Patch available
Jul 10, 2026 - 23:02 EUVD
CVE Published
Jul 10, 2026 - 21:46 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting") vulnerability in Drupal Drupal Canvas allows Cross-Site Scripting (XSS). This issue affects Drupal Canvas versions: from 0.0.0 to 1.4.2, from 1.5.0 to 1.5.2, from 1.6.0 to 1.6.1, from 1.7.0 to 1.7.1.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Low
contributed Drupal module, not installed by default on any site
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy