CVE-2021-32641 json
Reflected XSS when using flashMessages
published 2021-06-04 5 y ago modified 2026-07-08 4 mo ago also GHSA-jr3j-whm4-9wwm , EUVD-2021-1348
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 75%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm auth0-lock 11.30.1
- auth0 lock 11.30.1
Exploit prediction
1.54% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/auth0/lock/security/advisories/GHSA-jr3j-whm4-9wwm referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 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 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | auth0-lock | <11.30.1 |
11.30.1 |
Affected products
- auth0 lock
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/auth0/lock/commit/d139cf01c8234b07caf265e051f39d3eab08f7ed
web, patch, third-party-advisory
-
github.com
/auth0/lock/security/advisories/GHSA-jr3j-whm4-9wwm
web, exploit, third-party-advisory
-
github.com
/auth0/lock/releases/tag/v11.30.1
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-32641
advisory
Sources
- CVE List CVE-2021-32641
- GitHub Advisory GHSA-jr3j-whm4-9wwm
- NVD CVE-2021-32641
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.