CVE-2021-23447 json
Cross-site Scripting (XSS)
published 2021-10-07 5 y ago modified 2026-07-08 4 mo ago also GHSA-5f38-9jw2-6r6h , EUVD-2021-2159
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 66%
- public exploits
- 0
- none known
Summary
This affects the package teddy before 0.5.9. A type confusion vulnerability can be used to bypass input sanitization when the model content is an array (instead of a string).
Patch / fix
- npm teddy 0.5.9
- n/a teddy 0.5.9
Exploit prediction
1.13% chance of exploitation in the next 30 days, higher than 66% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- snyk.io https://snyk.io/vuln/SNYK-JS-TEDDY-1579557 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 |
| 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 | teddy | <0.5.9 |
0.5.9 |
Affected products
- n/a teddy
Classification
References
-
github.com
/rooseveltframework/teddy/pull/518
web, patch, third-party-advisory
-
github.com
/rooseveltframework/teddy/commit/64c556717b4879bf8d4c30067cf6e70d899a3dc0
web
-
snyk.io
/vuln/SNYK-JS-TEDDY-1579557
web, exploit, third-party-advisory
-
github.com
/rooseveltframework/teddy/releases/tag/0.5.9
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-23447
advisory
-
github.com
/rooseveltframework/teddy
package
Sources
- CVE List CVE-2021-23447
- GitHub Advisory GHSA-5f38-9jw2-6r6h
- NVD CVE-2021-23447
Fencer Vulns 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.