Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged Webform user
-
DeliveryInject script into stored webform field
-
ExploitPayload persists in Webform storage
-
ExecutionAdmin/victim views stored content
-
PersistScript executes in victim browser session
-
ImpactHijack 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). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
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.
Primary rating from Vendor (drupal).
CVSS VectorVendor: drupal
Lifecycle Timeline
2DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-107835
GHSA-g5g7-698p-7f3r
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB