VDB
Sign up
—

DRUPAL-CONTRIB-2026-042

Details

This module provides spam protection using the CleanTalk cloud service.

The module doesn't sufficiently sanitize API response messages before rendering them in HTML output. The `_cleantalk_die()` and `ct_die()` functions output the CleanTalk API response message directly into HTML without proper sanitization, allowing potential injection of arbitrary HTML or JavaScript.

This vulnerability is mitigated by the fact that an attacker must be able to influence the CleanTalk cloud API response (e.g., through a man-in-the-middle attack or a compromised API server).

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist:https://packages.drupal.org/8/drupal/cleantalk
Introduced in: 0Fixed in: 9.7.1

Upgrade drupal/cleantalk to 9.7.1 or newer (ecosystem packagist:https://packages.drupal.org/8).

References