Description
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.
Published: 2026-10-22
Score: 5.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting (XSS)
Action: Patch Required
AI Analysis

Impact

The vulnerability in Drupal Webform arises from a privilege‑defined unsafe action that stores malicious input in the database and renders it without proper escaping, leading to stored cross‑site scripting. An attacker who can inject input that is later displayed to other users can run arbitrary JavaScript in the victim’s browser, potentially hijacking sessions, defacing content, or stealing sensitive data. The flaw is a type of incorrect permission assignment (CWE‑267).

Affected Systems

Drupal Webform module, versions 0.0.0 through 6.2.12 and 6.3.0 through 6.3.1. Users running these versions are impacted.

Risk and Exploitability

Because the payload is stored and served from the database, any user who can create or edit a form with the unsafe action can install the XSS payload. The threat requires a privileged user, but once stored, the attack can be executed by any visitor to the page. The CVSS score is 5.4, and the EPSS score is < 1%, indicating a moderate likelihood of exploitation in environments where privileged users create forms. The vulnerability is not currently listed in the CISA KEV catalog.

Generated by OpenCVE AI on October 22, 2026 at 17:55 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Drupal Webform to the latest stable release (≥ 6.4.0) that removes the unsafe action or applies proper output escaping.
  • If an upgrade is not immediately possible, restrict the "unsafe action" permission to only the site owner or highly trusted administrators, and audit existing forms for malicious content.
  • Enable input sanitization or use Drupal’s built‑in XSS filter on all form data displayed to users.
  • Consider applying a web application firewall rule to block common XSS payloads on form submission pages.
  • Conduct a security review of all site forms and user roles to ensure that only authorized personnel can add or edit forms that can contain user‑generated content.

Generated by OpenCVE AI on October 22, 2026 at 17:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
History

Tue, 10 Nov 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 22 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'}


Thu, 22 Oct 2026 11:00:00 +0000

Type Values Removed Values Added
First Time appeared Drupal
Drupal webform
Vendors & Products Drupal
Drupal webform

Thu, 22 Oct 2026 01:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Webform - Moderately critical - Cross-site scripting - SA-CONTRIB-2026-166
Weaknesses CWE-267
References

cve-icon MITRE

Status: PUBLISHED

Assigner: drupal

Published:

Updated: 2026-10-22T15:02:22.422Z

Reserved: 2026-09-23T01:32:48.996Z

Link: CVE-2026-96371

cve-icon Vulnrichment

Updated: 2026-10-22T15:02:14.293Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-22T02:17:07.357

Modified: 2026-10-22T16:54:17.390

Link: CVE-2026-96371

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T18:00:11Z

Weaknesses
  • CWE-267

    Privilege Defined With Unsafe Actions