Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. tarteaucitronjs
  4. ›
  5. CVE-2026-49977

CVE-2026-49977: tarteaucitron: data-cookie attribute can be used to delete arbitrary cookies

July 10, 2026

tarteaucitron provides a list of cookies and buttons to delete them. If an attacker can write HTML with data attributes, they could create an element that silently deletes a cookie when clicked and trick a user to delete this cookie.

References

  • github.com/AmauriC/tarteaucitron.js/security/advisories/GHSA-jxj7-g6gm-49j7
  • github.com/advisories/GHSA-jxj7-g6gm-49j7
  • nvd.nist.gov/vuln/detail/CVE-2026-49977

Code Behaviors & Features

Detect and mitigate CVE-2026-49977 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.33.0

Fixed versions

  • 1.33.0

Solution

Upgrade to version 1.33.0 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-285: Improper Authorization

Source file

npm/tarteaucitronjs/CVE-2026-49977.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 11 Jul 2026 12:18:49 +0000.