Answer in brief
CVE-2026-49977 records a Medium severity (CVSS 4.3) vulnerability in tarteaucitron: data-cookie attribute can be used to delete arbitrary cookies. The current sources do not mark it as known exploited. The current feed maps tarteaucitronjs (npm), tarteaucitronjs (npm), drupal/tacjs (packagist:https://packages.drupal.org/8). Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 4.3. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps tarteaucitronjs (npm), tarteaucitronjs (npm), drupal/tacjs (packagist:https://packages.drupal.org/8). Check affected ranges and fixed versions before updating.
| Package | Affected range | Fixed version |
|---|---|---|
| tarteaucitronjsnpm | <1.33.0 | 1.33.0 |
| tarteaucitronjsnpm | >=0 <1.33.0 | 1.33.0 |
| drupal/tacjspackagist:https://packages.drupal.org/8 | >=0 <6.8.0 | 6.8.0 |
Published upstream
Jun 3, 2026
Evidence: source:nvd:source_dates:source-dates:recordSource modified
Nov 17, 2026
Evidence: source:nvd:source_dates:source-dates:recordFirst seen by HOL
Jul 10, 2026
### Summary 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. ### Details `tarteaucitron.cookie.purge()` is called on any element with the `purgeBtn` class. It does not check if the element is a legitimate tarteaucitron button or if the cookie corresponds to a service handled by tarteaucitron. ### PoC ```html <a class="purgeBtn" data-cookie="foo">Click me!</a> ``` If someone has a cookie with this name and clicks on the link, the cookie is silently deleted. ### Impact The impact is limited because this only works on cookies without HttpOnly=true and the attacker has to know the name of the cookie.
Quoted source text, attributed separately from HOL analysis.