CVE Explorer
CVE-2026-49977
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"tarteaucitron.js","vendor":"AmauriC","versions":[{"status":"affected","version":"< 1.33.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:a88464cd02346cd935db2aa99b9f29e5d36b31b63b1f87e839c364481f5d516a · sha256:159a14e371255b57… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:a88464cd02346cd935db2aa99b9f29e5d36b31b63b1f87e839c364481f5d516a · sha256:159a14e371255b57… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-285","description":"CWE-285: Improper Authorization","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a88464cd02346cd935db2aa99b9f29e5d36b31b63b1f87e839c364481f5d516a · sha256:159a14e371255b57… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/AmauriC/tarteaucitron.js/commit/24b5464400ae2ff1ad96a092c629b9d632b9cc93","tags":["x_refsource_MISC"],"url":"https://github.com/AmauriC/tarteaucitron.js/commit/24b5464400ae2ff1ad96a092c629b9d632b9cc93"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a88464cd02346cd935db2aa99b9f29e5d36b31b63b1f87e839c364481f5d516a · sha256:159a14e371255b57… · /containers/cna/references/1
{"name":"https://github.com/AmauriC/tarteaucitron.js/releases/tag/v1.33.0","tags":["x_refsource_MISC"],"url":"https://github.com/AmauriC/tarteaucitron.js/releases/tag/v1.33.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a88464cd02346cd935db2aa99b9f29e5d36b31b63b1f87e839c364481f5d516a · sha256:159a14e371255b57… · /containers/cna/references/2
{"name":"https://github.com/AmauriC/tarteaucitron.js/security/advisories/GHSA-jxj7-g6gm-49j7","tags":["x_refsource_CONFIRM"],"url":"https://github.com/AmauriC/tarteaucitron.js/security/advisories/GHSA-jxj7-g6gm-49j7"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a88464cd02346cd935db2aa99b9f29e5d36b31b63b1f87e839c364481f5d516a · sha256:159a14e371255b57… · /containers/cna/references/0
{"url":"https://www.drupal.org/sa-contrib-2026-040"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a88464cd02346cd935db2aa99b9f29e5d36b31b63b1f87e839c364481f5d516a · sha256:159a14e371255b57… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.