Skip to main content

Drupal Webform EUVDEUVD-2026-107835

| CVE-2026-96371 MEDIUM
Privilege Defined With Unsafe Actions (CWE-267)
2026-10-22 drupal GHSA-g5g7-698p-7f3r
5.4
CVSS 3.1 · Vendor: drupal
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privileged Webform user
  2. Delivery
    Inject script into stored webform field
  3. Exploit
    Payload persists in Webform storage
  4. Execution
    Admin/victim views stored content
  5. Persist
    Script executes in victim browser session
  6. Impact
    Hijack session or act as victim

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V8 - Authorization Privilege defined with unsafe actions
Exploitation Conditions

Exploitation requires an authenticated Drupal account with a Webform-related permission that allows injecting content which Webform stores and later renders (the CWE-267 'privilege defined with unsafe actions' root cause) - i.e. a role granted webform submit/create or configuration capability. The attack is Stored XSS, so a second user (typically an administrator or reviewer) must subsequently view the stored content for the payload to execute; this victim-view requirement and the required low-privilege authentication (PR:L) are the primary limiting factors. It affects Webform 0.0.0 through 6.2.12 and 6.3.0 through 6.3.1; sites on the fixed releases are not exposed. The available sources do not identify which specific Webform field or permission carries the unsafe action, so the exact vulnerable feature should be confirmed against the Drupal advisory.

Impact

This is a moderate-severity, low-priority issue and the signals are largely consistent in pointing away from urgent, widespread risk. The CVSS 3.1 base score is 5.4 (Medium) with vector AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N - network-reachable and low-complexity, but requiring an already-authenticated low-privileged account (PR:L), which materially constrains who can exploit it. The CWE-267 (Privilege Defined With Unsafe Actions) classification indicates the root cause is that a role/permission in Webform is allowed to perform an action (injecting markup that is later stored and rendered) that it should not, resulting in Stored XSS. EPSS is very low at 0.18% (7th percentile), and the vulnerability is NOT on the CISA KEV list, so there is no evidence of active exploitation. No public exploit code is identified in the input - the two references are a Drupal security advisory and the NVD detail page, not proof-of-concept exploit code. The vuln.today decision label is 'this_month', i.e. routine patching rather than emergency. Net: this is a real but modest issue appropriately handled on a normal patch cadence, not a high-CVSS-but-overrated emergency and not a drop-everything priority. One caveat to verify with the vendor: the input vector lists S:U (scope unchanged), yet Stored XSS typically executes script in a different security context (a victim/admin browser session), which many analysts would score as S:C - this disagreement affects the headline score but not the overall low real-world urgency.

Exploit ScenarioDerived

An attacker who holds a low-privileged Drupal account with permission to submit or configure Webform content injects a malicious script payload into a field that Webform stores and later renders without adequate sanitization. When a site administrator or other user views the stored submission or configuration, the script executes in their browser session, enabling session/cookie theft or actions in their context. No public exploit code was identified in the provided data, and exploitation first requires an authenticated low-privileged account (PR:L).

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 – Oct 22, 2026

Stored cross-site scripting in the Drupal Webform contributed module allows an authenticated user holding a Webform-related permission to persist content that Webform later renders to other users, so a reviewer or administrator viewing that content may have script execute in their session. The flaw is a CWE-267 'privilege defined with unsafe actions' problem - a role is granted a capability whose resulting actions are not safely constrained - and it affects Webform 0.0.0 through 6.2.12 and 6.3.0 through 6.3.1, with sites on the fixed releases not exposed. Severity is moderate (CVSS 5.4; the independent assessment raises scope to changed, S:C) with a low EPSS of 0.18% (7th percentile), no CISA KEV listing, and no public exploit identified at time of analysis; the vendor reports a patch is available and the priority decision is this_month. Authentication requirements are confirmed from the CVSS vector (PR:L, low-privileged authenticated), and because the payload is stored, a second victim user must subsequently view the affected content for execution.

RemediationAI

Patch availability is confirmed by the vendor, and the Drupal security advisory https://www.drupal.org/sa-contrib-2026-166 is the authoritative source for the exact fixed releases - the affected ranges terminate at 6.2.12 and 6.3.1 respectively, so administrators should update to the corrected release in their branch as named in that advisory, verifying the specific version number there rather than assuming it. Sites on the already-fixed releases are not exposed and need no further action on this CVE. As a compensating control where immediate upgrade is not possible, note that the prerequisite is an authenticated account holding a Webform permission that permits content injection (webform submission/create or configuration capability); temporarily narrowing those grants to a small, trusted set of roles, or gating form-building and submission permissions behind review, reduces exposure - with the trade-off that legitimate form authors and submitters lose access until the permission grant is restored. Any such restriction should be treated as temporary hardening only, since the vendor identifies the module update as the complete fix, and the interim measure does not address stored payloads already present in existing submissions.

Affected VersionsENISA

Webform 6.3.0 <6.3.1
Webform 0.0.0 <6.2.12

Affected Packages

composer drupal/webform fix: 6.2.12, 6.3.1
euvd webform fix: 6.2.12, 6.3.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

Webform is a widely deployed Drupal contributed module for building forms and collecting submissions, and the CPE entry cpe:2.3:a:drupal:webform:*:*:*:*:*:*:*:* covers the module across all listed versions rather than pinpointing a single build. The root cause class is CWE-267, Privilege Defined With Unsafe Actions: rather than a classic missing-output-encoding bug in isolation, the issue is that a Webform-related permission grants a role the ability to perform an action that is not safely bounded, and the content produced by that action is stored and rendered back to other users, yielding stored XSS. The available sources do not identify which specific Webform field, component, or permission carries the unsafe action, and the trigger conditions beyond the permission prerequisite are not described in the available sources; the exact vulnerable feature should be confirmed against the Drupal security advisory sa-contrib-2026-166. Because the payload is persisted server-side, exploitation timing is decoupled from the injection event - the injecting user need not be present when the victim loads the page - but the assessed vector's PR:L reflects that a valid Drupal account with the requisite Webform capability is a hard precondition, which materially narrows the attacker pool to authenticated low-privileged users rather than anonymous visitors.

Know when Webform 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 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
vuln.today AI 6.4 MEDIUM

Requires an authenticated low-privileged account (PR:L) to store the payload; Stored XSS executes in a victim's browser context, so S:C with low confidentiality and integrity impact and no availability impact.

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

Primary rating from Vendor (drupal).

CVSS VectorVendor: drupal

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

Lifecycle Timeline

2
Patch available
Oct 22, 2026 - 03:01 EUVD
CVE Published
Oct 22, 2026 - 01:21 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

Privilege Defined With Unsafe Actions vulnerability in Drupal Webform allows Stored XSS. This issue affects Webform versions: from 0.0.0 to 6.2.12, from 6.3.0 to 6.3.1.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Medium
Webform is a very popular Drupal contrib module, but Drupal is a mid-footprint CMS
Data Quality
4 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

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
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