# CVE-2021-32091: Cross-site scripting in LocalStack

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.85%, higher than 59% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-05-07T03:52:26.000Z
- Modified: 2026-06-17T03:52:46.223Z
- Also known as: GHSA-37m5-42qp-4qpr, PYSEC-2021-102
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

A Cross-site scripting (XSS) vulnerability exists in StackLift LocalStack 0.12.6.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- localstack (PyPI): up to 0.12.10; before 0.12.6.1
- localstack localstack: 0.12.6

## Every score

- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://blog.sonarsource.com/hack-the-stack-with-localstack> (exploit, article, third-party-advisory, web)
- <https://portswigger.net/daily-swig/localstack-zero-day-vulnerabilities-chained-to-achieve-remote-takeover-of-local-instances> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-32091> (advisory)
- <https://github.com/advisories/GHSA-37m5-42qp-4qpr> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/localstack/PYSEC-2021-102.yaml> (web)

## Sources

- CVE List: [CVE-2021-32091](https://www.cve.org/CVERecord?id=CVE-2021-32091), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-37m5-42qp-4qpr](https://github.com/advisories/GHSA-37m5-42qp-4qpr), CC-BY-4.0, modified 2024-09-30
- NVD: [CVE-2021-32091](https://nvd.nist.gov/vuln/detail/CVE-2021-32091), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-102](https://osv.dev/vulnerability/PYSEC-2021-102), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2021-32091 · Whole record: https://cve.day/CVE-2021-32091.json · Rebuilt by cve.day 2026-11-25T22:58:01.190Z
