Skip to main content

Theme Negotiation By Rules EUVDEUVD-2026-15467

| CVE-2026-3211 MEDIUM
Cross-Site Request Forgery (CSRF) (CWE-352)
2026-03-25 drupal GHSA-rf5j-2h6w-f75m
4.3
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

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 is not publicly available for this CVE, the vulnerability's nature as a CSRF flaw in an administrative/configuration module suggests moderate-to-high real-world risk. CSRF vulnerabilities typically have a network attack vector (AV:N) with low attack complexity (AC:L) and no privilege requirement if targeting end users, making exploitation straightforward. The fact that this is a Drupal contrib module (not core) reduces the blast radius compared to core vulnerabilities, but any site using Theme Negotiation by Rules is exposed. The Drupal security advisory (SA-contrib-2026-012) indicates this has received formal vendor attention. Without EPSS data, CVSS vector details, or public POC information available, the risk should be assessed as moderate-to-high for affected installations: CSRF vulnerabilities are generally automatable and can be weaponized at scale via malicious sites or compromised content. This warrants prompt patching within 30 days of awareness.

Exploit ScenarioDerived

An attacker crafts a malicious HTML page or injects code into a compromised website that, when visited by an authenticated Drupal administrator, silently submits a request to change the site's active theme or theme rules without the administrator's knowledge or consent. Because the Theme Negotiation by Rules module fails to validate CSRF tokens, the request succeeds, altering the site's appearance or behavior. This could be chained with stored XSS or other attacks to deface the site or inject malicious content. No public POC is indicated in the available intelligence, but the attack requires only that an admin visit a malicious link, making it a credible threat in forums, emails, or social engineering campaigns targeting site maintainers.

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 25, 2026

A Cross-Site Request Forgery (CSRF) vulnerability exists in the Drupal Theme Negotiation by Rules module, affecting all versions from 0.0.0 before 1.2.1. An attacker can exploit this flaw to perform unauthorized actions on behalf of authenticated users by crafting malicious requests that bypass CSRF protections in the theme negotiation functionality. The vulnerability has been officially documented by the Drupal security team via SA-contrib-2026-012, and users of this contrib module should prioritize patching to version 1.2.1 or later.

RemediationAI

Upgrade the Theme Negotiation by Rules module to version 1.2.1 or later immediately using Drupal's module update interface or via Composer. Visit https://www.drupal.org/sa-contrib-2026-012 to download the patched version and review any configuration changes required after upgrading. As a temporary mitigation prior to patching, administrators should restrict access to theme configuration pages to trusted administrators only via access control lists, disable the module if not actively in use, and monitor access logs for suspicious cross-site requests targeting theme-related endpoints. Clear all browser caches and sessions after patching to ensure CSRF tokens are regenerated.

Affected VersionsENISA

Theme Negotiation by Rules 0.0.0 <1.2.1

Affected Packages

composer drupal/theme_rule fix: 1.2.1
euvd theme_negotiation_by_rules fix: 1.2.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

The vulnerability resides in the Drupal Theme Negotiation by Rules module (CPE: cpe:2.3:a:drupal:theme_negotiation_by_rules:*:*:*:*:*:*:*:*), which is responsible for dynamically selecting and applying themes based on configurable rules within the Drupal content management system. The root cause is classified under CWE-352 (Cross-Site Request Forgery), indicating a failure to implement proper CSRF token validation or Same-Site cookie protections on administrative or user-facing operations that modify theme settings. This allows attackers to forge requests that bypass Drupal's standard CSRF defenses when the module fails to validate security tokens on sensitive endpoints.

Know when Theme Negotiation By Rules 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 4.3 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:N/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
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 25, 2026 - 15:21 nvd
MEDIUM 4.3

DescriptionCVE.org

Cross-Site Request Forgery (CSRF) vulnerability in Drupal Theme Negotiation by Rules allows Cross Site Request Forgery.This issue affects Theme Negotiation by Rules: from 0.0.0 before 1.2.1.

Executive ViewAI

Why It Matters

CVE-2026-3211 presents moderate security risk, a cross-site request forgery vulnerability rated CVSS 4.3. Users could be tricked into performing unintended actions. Organizations should apply vendor updates when available and monitor for exploitation.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: implement SameSite cookie attributes and anti-CSRF tokens.

Threat Intelligence Overview

EPSS Score
0.0%
Top 97% exploitable
Data Quality
6 sources
Confidence: High

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

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy