Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-3211: CWE-352 Cross-Site Request Forgery (CSRF) in Drupal Theme Negotiation by Rules

0
Medium
VulnerabilityCVE-2026-3211cvecve-2026-3211cwe-352
Published: Wed Mar 25 2026 (03/25/2026, 15:21:53 UTC)
Source: CVE Database V5
Vendor/Project: Drupal
Product: Theme Negotiation by Rules

Description

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/25/2026, 16:03:52 UTC

Technical Analysis

CVE-2026-3211 identifies a Cross-Site Request Forgery (CSRF) vulnerability in the Drupal Theme Negotiation by Rules module, affecting versions from 0.0.0 up to but not including 1.2.1. CSRF vulnerabilities occur when a web application does not properly verify that requests modifying state originate from legitimate users, allowing attackers to craft malicious requests that authenticated users unknowingly execute. In this case, the vulnerability allows attackers to manipulate the theme negotiation process, which controls how Drupal selects and applies themes based on rules. This can lead to unauthorized changes in site appearance or behavior, potentially undermining user trust or enabling further attacks. The module’s lack of CSRF tokens or other anti-CSRF mechanisms is the root cause. Exploitation requires the victim to be authenticated and to interact with a malicious link or page, making social engineering a key factor. No CVSS score is assigned yet, and no public exploits have been reported, but the vulnerability has been officially published and reserved by Drupal. The absence of a patch link suggests that a fix is pending or recently released. Given Drupal’s extensive use in government, enterprise, and public websites, this vulnerability poses a meaningful risk to affected installations.

Potential Impact

The primary impact of this vulnerability is on the integrity and potentially the availability of Drupal sites using the Theme Negotiation by Rules module. Attackers can cause authenticated users to unknowingly change theme settings, which may disrupt site appearance or user experience, damaging organizational reputation. In some scenarios, altered themes could be used to inject malicious content or facilitate phishing attacks, indirectly impacting confidentiality and user trust. Since the vulnerability requires an authenticated user, the attack surface is limited to users with login privileges, but many Drupal sites have broad user bases including administrators or editors, increasing risk. The lack of known exploits reduces immediate threat but does not eliminate the risk of targeted attacks. Organizations worldwide relying on Drupal for critical web infrastructure could face defacement, user confusion, or indirect compromise. The vulnerability does not directly lead to remote code execution or data leakage but can be a stepping stone in multi-stage attacks.

Mitigation Recommendations

Organizations should immediately verify if they use the Theme Negotiation by Rules module and identify affected versions. The primary mitigation is to upgrade the module to version 1.2.1 or later once available, as this will include proper CSRF protections. Until a patch is applied, administrators should restrict user roles and permissions to minimize the number of users able to perform theme negotiation actions. Implementing web application firewalls (WAFs) with rules to detect and block CSRF attack patterns can provide temporary protection. Educating users about phishing and social engineering risks is critical since exploitation requires user interaction. Additionally, site administrators should monitor logs for suspicious requests that could indicate attempted CSRF attacks. Employing Drupal’s built-in security modules and ensuring all modules follow secure coding practices will reduce exposure. Regular security audits and vulnerability scanning focused on CSRF and related web vulnerabilities are recommended.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
drupal
Date Reserved
2026-02-25T16:59:25.803Z
Cvss Version
null
State
PUBLISHED

Threat ID: 69c40331f4197a8e3b666ec0

Added to database: 3/25/2026, 3:45:53 PM

Last enriched: 3/25/2026, 4:03:52 PM

Last updated: 3/26/2026, 5:27:24 AM

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses