CVE-2026-96371

Webform - Moderately critical - Cross-site scripting - SA-CONTRIB-2026-166

Published Oct 22, 2026 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
References
History
Type Values Removed Values Added
Metrics ssvc

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

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'}

Type Values Removed Values Added
First Time appeared Drupal
Drupal webform
Vendors & Products Drupal
Drupal webform
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
Weaknesses
  • CWE-267

    Privilege Defined With Unsafe Actions

Sources

Status
PUBLISHED
Assigner
drupal
Published
Updated
Oct 22, 2026, 3:02 PM
Reserved
Sep 23, 2026, 1:32 AM
Status
Awaiting Analysis
Published
Oct 22, 2026, 2:17 AM
Modified
Oct 22, 2026, 4:54 PM