{"id":"CVE-2021-32641","published":"2021-06-04T21:10:11Z","modified":"2024-08-03T23:25:31Z","title":"Reflected XSS when using flashMessages","vendor":"auth0","product":"lock","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01539,"percentile":0.75517,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/auth0/lock/security/advisories/GHSA-jr3j-whm4-9wwm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/auth0/lock/commit/d139cf01c8234b07caf265e051f39d3eab08f7ed","tags":["x_refsource_MISC"]},{"url":"https://github.com/auth0/lock/releases/tag/v11.30.1","tags":["x_refsource_MISC"]}],"priority":{"score":20.8,"factors":[{"name":"EPSS percentile","points":15.1},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"auth0","affectedVersions":[{"vendor":"auth0","product":"lock","versions":["<= 11.30.0"]}],"affected":[{"ecosystem":"npm","package":"auth0-lock","vulnerableRanges":["<11.30.1"],"patched":["11.30.1"],"from":["GHSA-jr3j-whm4-9wwm"],"provenance":"source"}],"summary":{"text":"The Auth0 Lock signin library (auth0-lock, the Auth0 Lock component) contains a reflected cross-site scripting flaw in versions up to and including 11.30.0, where user input or URL parameter data incorporated into its flashMessage or languageDictionary features is not neutralised. An attacker who can get a user to open a crafted link, with no authentication required, can have arbitrary script run in the victim's browser when the affected feature is used in the application.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:13:26Z"},"euvd":{"id":"EUVD-2021-1348","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-auth0-lock-cve-2019-20174","parents":[{"from":"CVE-2019-20174","to":"CVE-2021-32641","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/ui/input/checkbox_input.jsx"],"commits":["https://github.com/auth0/lock/commit/6c15e5659c21cd814ea119af5c51b61399598dd5","https://github.com/auth0/lock/commit/d139cf01c8234b07caf265e051f39d3eab08f7ed"],"basis":"shared function","functions":["CheckboxInput"]}]}],"packageHistory":[{"cve":"CVE-2019-20174","published":"2020-02-03","fixed":"11.21.0","kev":false},{"cve":"CVE-2020-15119","published":"2020-08-19","fixed":"11.26.3","kev":false,"link":{"from":"CVE-2020-15119","to":"CVE-2021-32641","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:auth0-lock","fromFixed":"11.26.3","toFixed":"11.30.1","daysApart":289}]}},{"cve":"CVE-2021-32641","published":"2021-06-04","fixed":"11.30.1","kev":false},{"cve":"CVE-2022-29172","published":"2022-05-05","fixed":"11.33.0","kev":false,"link":{"from":"CVE-2021-32641","to":"CVE-2022-29172","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:auth0-lock","fromFixed":"11.30.1","toFixed":"11.33.0","daysApart":335}]}}],"package":"npm:auth0-lock"}}