CVE-2026-22809: Tarteaucitronjs Denial of Service Vulnerability
MODERATECVE-2026-22809 is a MODERATE (CVSS 4.4) denial of service vulnerability (CWE-1333: Inefficient Regular Expression Complexity) affecting Tarteaucitronjs libraries in the npm ecosystem. The issue involves tarteaucitron.js has regular expression denial of service (redos) vulnerability. Remediation is available by upgrading affected packages to version 1.29.0.
CVE-2026-22809 at a Glance
Security Impact
CVSS: 4.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2026-22809
To remediate this vulnerability, upgrade all affected Tarteaucitronjs dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install tarteaucitronjs@1.29.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls tarteaucitronjs
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-22809, inspect your project dependencies using npm:
npm ls tarteaucitronjs
Analyze the terminal output to locate any version of Tarteaucitronjs in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.29.0), your application is affected.
Note: The npm ls tarteaucitronjs command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1333: Inefficient Regular Expression Complexity, where the product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential. In Tarteaucitronjs, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-22809 Affected Tarteaucitronjs Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
tarteaucitronjs
|
npm |
< 1.29.0
|
1.29.0
|
References
Frequently Asked Questions
What is CVE-2026-22809?
Which Tarteaucitronjs versions are affected?
What version fixes CVE-2026-22809?
Is tarteaucitronjs affected?
What is the CVSS score of CVE-2026-22809?
What CWE is associated with CVE-2026-22809?
How can I check npm dependencies for CVE-2026-22809?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q5f6-qxm2-mcqm",
"modified" : "2026-01-13T21:41:31Z",
"published" : "2026-01-13T20:35:28Z",
"aliases" : [ "CVE-2026-22809" ],
"summary" : "tarteaucitron.js has Regular Expression Denial of Service (ReDoS) vulnerability",
"details" : "## Summary\n\nA potential Regular Expression Denial of Service (ReDoS) vulnerability was identified in tarteaucitron.js in the handling of the `issuu_id` parameter. \n\n## Details\n\nThe issue was caused by the use of insufficiently constrained regular expressions applied to attacker-controlled input:\n\n if (issuu_id.match(/\\d+\\/\\d+/)) {\n issuu_embed = '#' + issuu_id;\n } else if (issuu_id.match(/d=(.*)&u=(.*)/)) {\n issuu_embed = '?' + issuu_id;\n }\n\nThese expressions are not anchored and rely on greedy patterns (`.*`). When evaluated against specially crafted input, they may cause excessive backtracking, leading to high CPU consumption and potential denial of service.\n\n## Impact\n\nAn attacker able to control the `issuu_id` parameter could exploit this vulnerability to degrade performance or cause temporary service unavailability through CPU exhaustion.\n\nNo confidentiality or integrity impact was identified.\n\n## Fix https://github.com/AmauriC/tarteaucitron.js/commit/f0bbdac2fdf3cd24a325fc0928c0d34abf1b7b52\n\nThe logic was simplified and hardened by removing ambiguous regular expressions and enforcing strict input validation:\n\n if (issuu_id.match(/^\\d+\\/\\d+$/)) {\n issuu_embed = '#' + issuu_id;\n } else {\n issuu_embed = '?' + issuu_id;\n }\n\nThis change eliminates the risk of catastrophic backtracking and prevents ReDoS conditions.\n\nAdditionally, code related to the legacy \"Alexa Rank\" service was removed. This service, historically provided by Alexa.com via browser toolbars and popularity rankings, has been deprecated for several years and is no longer operational. The Alexa domain is now exclusively associated with the Amazon voice assistant, and the original ranking service has been permanently discontinued.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "tarteaucitronjs"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.29.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/AmauriC/tarteaucitron.js/security/advisories/GHSA-q5f6-qxm2-mcqm"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-22809"
}, {
"type" : "WEB",
"url" : "https://github.com/AmauriC/tarteaucitron.js/commit/f0bbdac2fdf3cd24a325fc0928c0d34abf1b7b52"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/AmauriC/tarteaucitron.js"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1333" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-13T20:35:28Z",
"nvd_published_at" : "2026-01-13T20:16:11Z"
}
}