{"id":"DRUPAL-CONTRIB-2026-042","details":"This module provides spam protection using the CleanTalk cloud service.\n\nThe 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.\n\nThis 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).","aliases":["CVE-2026-10770"],"modified":"2026-09-10T03:45:36.182755407Z","published":"2026-06-03T16:14:56Z","references":[{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2026-042"}],"affected":[{"package":{"name":"drupal/cleantalk","ecosystem":"Packagist:https://packages.drupal.org/8","purl":"pkg:composer/drupal/cleantalk?repository_url=https:%2F%2Fpackages.drupal.org%2F8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.7.1"}],"database_specific":{"constraint":"\u003c9.7.1"}}],"database_specific":{"affected_versions":"\u003c9.7.1","source":"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/cleantalk/DRUPAL-CONTRIB-2026-042.json"}}],"schema_version":"1.9.0","credits":[{"name":"Ra Mänd (ram4nd)","contact":["https://www.drupal.org/u/ram4nd"]}]}