{"cve":"CVE-2026-49977","nvd":{"published":"2026-07-17T21:17:06.930","modified":"2026-10-24T20:10:00.137","status":"Deferred","description":"tarteaucitron.js is a compliant and accessible cookie banner. Prior to 1.33.0, tarteaucitron.cookie.purge() is called on any element with the purgeBtn class and does not check whether the element is a legitimate tarteaucitron button or whether the cookie corresponds to a service handled by tarteaucitron. If an attacker can write HTML with data attributes, an element with data-cookie can silently delete a non-HttpOnly cookie with a known name when clicked by a user. This issue is fixed in version 1.33.0.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","score":4.3},"cwes":["CWE-285"],"references":["https://github.com/AmauriC/tarteaucitron.js/commit/24b5464400ae2ff1ad96a092c629b9d632b9cc93","https://github.com/AmauriC/tarteaucitron.js/releases/tag/v1.33.0","https://github.com/AmauriC/tarteaucitron.js/security/advisories/GHSA-jxj7-g6gm-49j7","https://www.drupal.org/sa-contrib-2026-040"],"products":[],"source":"nvd","synced_at":"2026-10-25T17:50:08.599881581+00:00"},"epss":{"cve":"CVE-2026-49977","score":0.00354,"percentile":0.28824,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-jxj7-g6gm-49j7","url":"https://osv.dev/vulnerability/GHSA-jxj7-g6gm-49j7","summary":"tarteaucitron: data-cookie attribute can be used to delete arbitrary cookies","modified":"2026-07-10T16:26:41.089772Z","packages":[{"ecosystem":"npm","name":"tarteaucitronjs","purl":"pkg:npm/tarteaucitronjs","ranges":["<1.33.0"],"fixed":["1.33.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}