CVE-2021-23416 json
Cross-site Scripting (XSS)
published 5y ago modified 4mo ago also GHSA-rqf8-8c89-mw29 , EUVD-2021-1875
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
This affects all versions of package curly-bracket-parser. When used as a template library, it does not properly sanitize the user input.
Is CVE-2021-23416 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
0.79% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- snyk.io https://snyk.io/vuln/SNYK-JS-CURLYBRACKETPARSER-1297106 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P |
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | curly-bracket-parser | <=1.0.2 |
no fix listed |
Affected products
- n/a curly-bracket-parser
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
snyk.io
/vuln/SNYK-JS-CURLYBRACKETPARSER-1297106
web, exploit, third-party-advisory
-
github.com
/magynhard/curly-bracket-parser/blob/master/src/curly-bracket-parser/curly-bracket-parser.js%23L31
web, broken-link
-
nvd.nist.gov
/vuln/detail/CVE-2021-23416
advisory
-
github.com
/magynhard/curly-bracket-parser
package
-
github.com
/magynhard/curly-bracket-parser/blob/master/src/curly-bracket-parser/curly-bracket-parser.js#23L31
web
Sources
- CVE List CVE-2021-23416
- GitHub Advisory GHSA-rqf8-8c89-mw29
- NVD CVE-2021-23416
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.