{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-49977","published":"2026-07-17T21:17:06.930000Z","last_modified":"2026-10-24T20:10:00.137000Z","status":"Deferred","cvss":{"version":"3.1","score":4.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-285"],"cpes":[],"cpes_truncated":false,"vendors":["amauric"],"products":["amauric/tarteaucitron.js"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-jxj7-g6gm-49j7","ecosystem":"npm","name":"tarteaucitronjs","purl":"pkg:npm/tarteaucitronjs","ranges":[{"introduced":"0","fixed":"1.33.0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":41,"links":{"html_es":"/es/cve/CVE-2026-49977/","html_en":"/en/cve/CVE-2026-49977/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-49977","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-49977"},"untrusted":{"vendor_name":"AmauriC","product_name":"tarteaucitron.js","desc_en":"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.","affected":[{"untrusted_vendor":"AmauriC","untrusted_product":"tarteaucitron.js","versions":[]}],"references":[{"url":"https://github.com/AmauriC/tarteaucitron.js/commit/24b5464400ae2ff1ad96a092c629b9d632b9cc93","tags":[]},{"url":"https://github.com/AmauriC/tarteaucitron.js/releases/tag/v1.33.0","tags":[]},{"url":"https://github.com/AmauriC/tarteaucitron.js/security/advisories/GHSA-jxj7-g6gm-49j7","tags":[]},{"url":"https://www.drupal.org/sa-contrib-2026-040","tags":[]}]}}