CVE-2024-41655
JavaScript vulnerability analysis and mitigation

Overview

TF2 Item Format, a tool that helps users format TF2 items to community standards, contains a Regular Expression Denial of Service (ReDoS) vulnerability. Versions since at least 4.2.6 and prior to 5.9.14 are affected when parsing crafted user input. The vulnerability was discovered in July 2024 and has been assigned CVE-2024-41655 (GitHub Advisory).

Technical details

The vulnerability stems from improper regular expression handling in the decomposeName.ts file. The issue occurs when both itemName and toRemove parameters originate from user input, allowing exploitation through catastrophic backtracking. The vulnerability is triggered under specific conditions where attributes.usableItem is truthy and either attributes.usableItem.output or attributes.usableItem.target are falsy. The CVSS v3.1 score is 7.5 (High) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (GitHub Advisory).

Impact

An attacker can exploit this vulnerability to perform Denial of Service (DoS) attacks on any service that uses tf2-item-format to parse user input. When exploited, the attack can cause the server to hang due to excessive resource consumption during regular expression processing (GitHub Advisory).

Mitigation and workarounds

Users are advised to upgrade to version 5.9.14 or later, which contains a fix for the vulnerability. For version 4 users, no direct patch exists, and they should consult the v4 to v5 migration guide to upgrade. If upgrading to v5 is not possible, users can fork the module repository and implement the fix by replacing the vulnerable regular expression with direct string replacements (GitHub Commit, GitHub Release).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-55182CRITICAL10
  • JavaScriptJavaScript
  • react
NoYesDec 03, 2025
CVE-2025-66401CRITICAL9.8
  • JavaScriptJavaScript
  • mcp-watch
NoNoDec 01, 2025
CVE-2025-66412HIGH8.5
  • JavaScriptJavaScript
  • @angular/compiler
NoYesDec 01, 2025
CVE-2025-66415MEDIUM6.9
  • JavaScriptJavaScript
  • @fastify/reply-from
NoYesDec 01, 2025
CVE-2025-66405MEDIUM6.9
  • JavaScriptJavaScript
  • @portkey-ai/gateway
NoYesDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management