SA-CONTRIB-2026-181: XSS
This module enables you to provide information and options about cookie usage. The module does not sufficiently filter input submitted through the Cookiecuttr administration form. This could allow specially crafted values to be stored and later rendered without adequate sanitization, resulting in a cross-site scripting (XSS) vulnerability. This vulnerability is mitigated by the fact that an attacker must have a role with the permission administer cookiecuttr.
Credit
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
drupal/cookiecuttrto a version that resolves this vulnerability.Fixed in 2.0.3
Event History
Frequently Asked Questions
Who can exploit this vulnerability?
An attacker must have a role with the "administer cookiecuttr" permission. This limits exploitation to users who can access and submit the Cookiecuttr administration form.
What is the impact if it is exploited?
Specially crafted values submitted through the Cookiecuttr administration form may be stored and later rendered without adequate sanitization, enabling cross-site scripting in contexts where those values are displayed.