Simple KlaroDrupal extension · 1xinternet

CVE-2025-48918

HIGH · 8.8 CVSS v3.1 Published 2025-06-13
Fix available
A fix is available. Upgrade to 1.10.0 or later.
See remediation →
95/100
Remediation priority · Urgent
Remotely reachable No privileges

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

This is a stored Cross-Site Scripting (XSS) vulnerability in the Simple Klaro module for Drupal. The module fails to properly sanitize user-supplied input before rendering it in web pages, allowing authenticated attackers to inject malicious JavaScript that executes in the browsers of other users viewing the affected content.

MitigationUpgrade Simple Klaro to version 1.10.0 or later. Until the upgrade is applied, implement strict input validation and consider adding a Content-Security-Policy header to mitigate XSS attacks.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Simple KlaroDrupal extension
Affected:< 1.10.0

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
Low

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Locate the Simple Klaro module directory
    Search your Drupal installation for directories named 'simple_klaro', 'klaro', or similar within the /modules path. Common locations include /modules/contrib/ or /sites/all/modules/
    Affected if The Simple Klaro module directory exists in your Drupal installation
  2. Identify the installed version
    Open the .info.yml file within the Simple Klaro module directory and locate the 'version' field. Alternatively, check the composer.json file in the module directory for the version number
    Affected if The version number shown is lower than 1.10.0 (for example, 1.9.x, 1.8.0, etc.)
  3. Verify the module is enabled
    Run 'drush pm-list --status=enabled' or access the Drupal administration Extend page to confirm Simple Klaro is listed as an enabled module
    Affected if Simple Klaro appears as enabled in your Drupal module list
  4. Check if the module renders on pages
    Visit your Drupal website and view the page source or inspect elements to determine if the Simple Klaro cookie consent banner or any module-generated content is being rendered
    Affected if The Simple Klaro interface elements are visible and rendered in web page output

You are affected if the Simple Klaro module is installed with a version below 1.10.0 and is enabled with its output being rendered on pages, as this is when the unsanitized user input could be exploited during page generation.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 1.10.0 or later
Fixed in 1.10.0
Interim mitigation

Upgrade Simple Klaro to version 1.10.0 or later. Until the upgrade is applied, implement strict input validation and consider adding a Content-Security-Policy header to mitigate XSS attacks.

Recommended fix High confidence

1.10.0

  1. Back up your Drupal database and files before starting the upgrade
  2. Download Simple Klaro version 1.10.0 from Drupal.org (https://www.drupal.org/project/simple_klaro)
  3. Navigate to your Drupal installation's modules directory and replace the existing simple_klaro module files with the new 1.10.0 version
  4. Run database updates by executing `drush updatedb` or through the Drupal admin interface at /update.php
  5. Clear all Drupal caches using `drush cr` or through the admin interface at Configuration > Development > Performance > Clear all caches
  6. Verify the Simple Klaro module is now running version 1.10.0 on the Extend (modules) administration page
  7. Test that the Simple Klaro consent management functionality works correctly and that the XSS vulnerability is no longer present

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Simple Klaro Scoped from the published advisory
  • Consultation2.0 h
  • Implementation2.0 h
  • Testing3.0 h
  • Review / QA1.0 h
8.0 hours of engineering $1,390
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,224.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2025-48918 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-48918 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data