CVE-2021-32091 json
Cross-site scripting in LocalStack
published 5y ago modified 4mo ago also GHSA-37m5-42qp-4qpr , PYSEC-2021-102 , EUVD-2021-0114
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 58%
- public exploits
- 0
- none known
Summary
A Cross-site scripting (XSS) vulnerability exists in StackLift LocalStack 0.12.6.
Patch / fix
- pypi localstack 0.12.6.1
Is CVE-2021-32091 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.85% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- blog.sonarsource.com https://blog.sonarsource.com/hack-the-stack-with-localstack referenced PoC, tagged "exploit" by a source, unverified
- portswigger.net https://portswigger.net/daily-swig/localstack-zero-day-vulnerabilities-chained-to-achieve-remote-takeover-of-local-instances referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| 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 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | localstack | <=0.12.10 <0.12.6.1 |
0.12.6.1 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
blog.sonarsource.com
/hack-the-stack-with-localstack
web, exploit, third-party-advisory, article
-
portswigger.net
/daily-swig/localstack-zero-day-vulnerabilities-chained-to-achieve-remote-takeover-of-local-instances
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-32091
advisory
-
github.com
/advisories/GHSA-37m5-42qp-4qpr
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/localstack/PYSEC-2021-102.yaml
web
Sources
- CVE List CVE-2021-32091
- GitHub Advisory GHSA-37m5-42qp-4qpr
- NVD CVE-2021-32091
- OSV PYSEC-2021-102
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.