# CVE-2021-32641: Reflected XSS when using flashMessages

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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): 1.54%, higher than 75% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-06-04T19:10:34.000Z
- Modified: 2026-07-08T06:00:58.295Z
- Also known as: GHSA-jr3j-whm4-9wwm
- Weaknesses: CWE-79
- Assigned by: GitHub_M

## Description

auth0-lock is Auth0's signin solution. Versions of nauth0-lock before and including `11.30.0` are vulnerable to reflected XSS. An attacker can execute arbitrary code when the library's `flashMessage` feature is utilized and user input or data from URL parameters is incorporated into the `flashMessage` or the library's `languageDictionary` feature is utilized and user input or data from URL parameters is incorporated into the `languageDictionary`. The vulnerability is patched in version 11.30.1.

(As written by CVE List.)

## Affected

- auth0 lock: <= 11.30.0; before 11.30.1
- auth0-lock (npm): before 11.30.1

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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://github.com/auth0/lock/security/advisories/GHSA-jr3j-whm4-9wwm> (exploit, third-party-advisory, web)
- <https://github.com/auth0/lock/commit/d139cf01c8234b07caf265e051f39d3eab08f7ed> (patch, third-party-advisory, web)
- <https://github.com/auth0/lock/releases/tag/v11.30.1> (release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-32641> (advisory)

## Sources

- CVE List: [CVE-2021-32641](https://www.cve.org/CVERecord?id=CVE-2021-32641), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-jr3j-whm4-9wwm](https://github.com/advisories/GHSA-jr3j-whm4-9wwm), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-32641](https://nvd.nist.gov/vuln/detail/CVE-2021-32641), Public domain, modified 2026-06-17

---

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