npm package report

Is braces safe?

2 known vulnerabilities, worst severity HIGH.

cvss
7.5

how bad it is if exploited, out of 10

epss
1.5%

chance of exploitation in the next 30 days

xyz score
4.4

CyberXYZ composite, out of 10

fig. 01 — GHSA-grv7-fg5c-xmjg, the advisory selected below

// advisories

GHSA-grv7-fg5c-xmjg

HIGHCVE-2024-4068

The NPM package braces fails to limit the number of characters it can handle, which could lead to Memory Exhaustion. In lib/parse.js, if a malicious user sends "imbalanced braces" as input, the parsing will enter a loop, which will cause the program to start allocating heap memory without freeing it at any moment of the loop. Eventually, the JavaScript heap limit is reached, and the program will c

Affected
< 3.0.3
Fixed in
3.0.3
Weakness
CWE-400
Published
2024-05-14
Source
github

GHSANVDMITREreferencereferencereferencereferencereferencereference


// ai model usage

Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.


Checked 2026-09-22 at 02:35 UTC. The most recent advisory here was published 2024-05-14. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.
Is braces safe? npm package security report | CyberXYZ