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.
CVE-2026-49977
This medium-severity CVE scores 4.3 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.3%, top 73% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 4.3
- EG Score
- 4.3(medium)
- EG Risk
- —
- EPSS
- 27.4%
- KEV
- Not listed
Published
July 10, 2026
Last Modified
July 20, 2026
Advisory Details (4)
Auto-updated Jul 17, 2026TacJS - Moderately critical - Improper Access Control - SA-CONTRIB-2026-040 | Drupal.org
https://www.drupal.org/sa-contrib-2026-040data-cookie attribute can be used to delete arbitrary cookies · Advisory · AmauriC/tarteaucitron.js · GitHub
https://github.com/AmauriC/tarteaucitron.js/security/advisories/GHSA-jxj7-g6gm-49j7v1.33.0
Patch available: AmauriC/tarteaucitron.js v1.33.0
https://github.com/AmauriC/tarteaucitron.js/releases/tag/v1.33.0commit 24b5464400ae (AmauriC/tarteaucitron.js)
Patch available: AmauriC/tarteaucitron.js v1.33.0 (contains commit 24b5464400ae)
https://github.com/AmauriC/tarteaucitron.js/commit/24b5464400ae2ff1ad96a092c629b9d632b9cc93Vendor Advisories for CVE-2026-49977(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
npm(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| tarteaucitronjs | — | 1.33.0 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 6× in last 7d / 7× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 03:42 UTCEG score recompute
- 2026-07-19 02:29 UTCEPSS rescore
- 2026-07-10 16:14 UTCEG score recompute
Related CVEs(same CWE)
Same CWE
10 shownCWE-285
Frequently asked(5)
What is CVE-2026-49977?
When was CVE-2026-49977 disclosed?
Is CVE-2026-49977 actively exploited?
What is the CVSS score of CVE-2026-49977?
How do I remediate CVE-2026-49977?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-49977
Is Your Infrastructure Affected by CVE-2026-49977?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.