CVE-2026-22809

tarteaucitron.js has Regular Expression Denial of Service (ReDoS) vulnerability

Published Jan 13, 2026 CVSS 3.1 · 4.4 Medium EPSS < 1% KEV · Not listed
Description
tarteaucitron.js is a compliant and accessible cookie banner. Prior to 1.29.0, a Regular Expression Denial of Service (ReDoS) vulnerability was identified in tarteaucitron.js in the handling of the issuu_id parameter. This vulnerability is fixed in 1.29.0.

Analysis

AI-generated

Technical impact

A Regular Expression Denial of Service (ReDoS) flaw was discovered in tarteaucitron.js that is triggered when processing the issuu_id parameter. The vulnerable regular expression can be fed a specially crafted value that causes the JavaScript engine to perform an exponential amount of work, leading to significant CPU usage and a potential denial of service for end users. The impact is limited to application availability; confidentiality and integrity are not directly affected.

Affected Systems

The vulnerability affects all releases of tarteaucitron.js older than version 1.29.0 from the AmauriC project. Any deployment using the library prior to 1.29.0 is susceptible to ReDoS when a malicious issuu_id is supplied.

Risk and Exploitability

The CVSS score of 4.4 classifies this flaw as low to moderate severity. The EPSS score of less than 1% indicates a very low likelihood of exploitation, and the vulnerability is not listed in the CISA KEV catalog. Attackers would need to provide a crafted issuu_id value, which could come from an attacker's controlled web page embedding the script or an injected request. The requirement for user-supplied input keeps the threat realistic in scenarios where the banner is exposed to untrusted input sources.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade tarteaucitron.js to version 1.29.0 or later.
  • Validate the issuu_id input against a strict regex or known GUID format before passing to the library.
  • Implement rate limiting or input size restrictions on the issuu_id parameter to prevent repeated ReDoS attempts.

Generated by OpenCVE AI on April 18, 2026 at 16:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-q5f6-qxm2-mcqm tarteaucitron.js has Regular Expression Denial of Service (ReDoS) vulnerability
History
Type Values Removed Values Added
CPEs cpe:2.3:a:amauri:tarteaucitronjs:*:*:*:*:*:node.js:*:*
Type Values Removed Values Added
First Time appeared Amauri
Amauri tarteaucitronjs
Vendors & Products Amauri
Amauri tarteaucitronjs
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description tarteaucitron.js is a compliant and accessible cookie banner. Prior to 1.29.0, a Regular Expression Denial of Service (ReDoS) vulnerability was identified in tarteaucitron.js in the handling of the issuu_id parameter. This vulnerability is fixed in 1.29.0.
Title tarteaucitron.js has Regular Expression Denial of Service (ReDoS) vulnerability
Weaknesses CWE-1333
References
Metrics cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jan 13, 2026, 7:47 PM
Reserved
Jan 9, 2026, 10:50 PM
Status
Analyzed
Published
Jan 13, 2026, 8:16 PM
Modified
Jun 17, 2026, 10:20 AM