LiveActive security incident?Get immediate response
CVE Record

CVE-2021-32641: Reflected XSS when using flashMessages

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.

HighCVSS 8.1Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

Auth0 Lock versions 11.30.0 and earlier can expose sign-in pages to reflected cross-site scripting when applications place untrusted input, including URL parameter data, into flashMessage or languageDictionary. This can allow attacker-controlled script to run in a user's browser within the affected login flow. Auth0 patched the issue in 11.30.1.

Executive priority

Treat this as a high-priority web login component issue where Auth0 Lock is present. Prioritize internet-facing authentication flows first, especially where teams customize login messages or localization from request data.

Technical view

CVE-2021-32641 is CWE-79 in auth0-lock <=11.30.0. The affected paths are flashMessage and languageDictionary when user-controlled content is incorporated. The CVSS 3.1 score is 8.1 high, with network attack vector and high attack complexity. The cited fix is auth0-lock 11.30.1.

Likely exposure

Likely exposure is web applications embedding Auth0 Lock <=11.30.0 and dynamically populating flashMessage or languageDictionary from URL parameters or other untrusted input. Applications on newer Lock versions, or not using those features with untrusted data, are not shown affected by the provided sources.

Exploitation context

The bundle does not cite public exploitation, and KEV is false, so active exploitation is not established. Exploitability depends on both an affected Lock version and an application pattern that reflects untrusted data into the named UI features.

Researcher notes

Focus review on sink usage, not only package presence. The sources identify vulnerable behavior only when flashMessage or languageDictionary receives user input or URL-derived data. The patch reference is available, but this assessment does not infer details beyond the advisory.

Mitigation direction

  • Upgrade auth0-lock to version 11.30.1 or later.
  • Review login code using flashMessage or languageDictionary with URL parameters.
  • Remove untrusted input from those fields until upgraded.
  • Check Auth0 advisory and release notes for vendor guidance.

Validation and detection

  • Inventory applications and packages using auth0-lock.
  • Confirm deployed auth0-lock versions are above 11.30.0.
  • Search code for flashMessage and languageDictionary usage.
  • Verify URL parameter data is not passed into those features.
  • Record affected routes and remediation status for each application.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-79: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-32641 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.1 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.1CVSS 3.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H2.25.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

8.1High
CVSS 3.1 vector shape for CVE-2021-32641Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
auth0lock<= 11.30.0Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.