CVE-2021-23648
Detail
Modified
This CVE record has been updated after NVD enrichment efforts were completed. Enrichment data supplied by the NVD may require amendment due to these changes.
Description
The package @braintree/sanitize-url before 6.0.0 are vulnerable to Cross-site Scripting (XSS) due to improper sanitization in sanitizeUrl function.
Metrics
CVSS Version 4.0
CVSS Version 3.x
CVSS Version 2.0
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
CVSS 4.0 Severity and Vector Strings:
NVD assessment
not yet provided.
CVSS 3.x Severity and Vector Strings:
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
CVSS 2.0 Severity and Vector Strings:
Vector:
(AV:N/AC:M/Au:N/C:N/I:P/A:N)
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to [email protected] .
Weakness Enumeration
CWE-ID
CWE Name
Source
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
NIST
Change History
7 change records found show changes
CVE Modified by CVE 11/21/2024 12:51:51 AM
Action
Type
Old Value
New Value
Added
Reference
https://github.com/braintree/sanitize-url/blob/main/src/index.ts%23L11
Added
Reference
https://github.com/braintree/sanitize-url/pull/40
Added
Reference
https://github.com/braintree/sanitize-url/pull/40/commits/e5afda45d9833682b705f73fc2c1265d34832183
Added
Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2PFW6Q2LXXWTFRTMTRN4ZGADFRQPKJ3D/
Added
Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/36GUEPA5TPSC57DZTPYPBL6T7UPQ2FRH/
Added
Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HLAQRRGNSO5MYCPAXGPH2OCSHOGHSQMQ/
Added
Reference
https://snyk.io/vuln/SNYK-JS-BRAINTREESANITIZEURL-2339882
CVE Modified by Snyk 5/14/2024 4:20:09 AM
Action
Type
Old Value
New Value
CVE Modified by Snyk 11/06/2023 10:30:54 PM
Action
Type
Old Value
New Value
Added
Reference
Snyk https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2PFW6Q2LXXWTFRTMTRN4ZGADFRQPKJ3D/ [No types assigned]
Added
Reference
Snyk https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/36GUEPA5TPSC57DZTPYPBL6T7UPQ2FRH/ [No types assigned]
Added
Reference
Snyk https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HLAQRRGNSO5MYCPAXGPH2OCSHOGHSQMQ/ [No types assigned]
Removed
Reference
Snyk https://lists.fedoraproject.org/archives/list/[email protected] /message/2PFW6Q2LXXWTFRTMTRN4ZGADFRQPKJ3D/
Removed
Reference
Snyk https://lists.fedoraproject.org/archives/list/[email protected] /message/36GUEPA5TPSC57DZTPYPBL6T7UPQ2FRH/
Removed
Reference
Snyk https://lists.fedoraproject.org/archives/list/[email protected] /message/HLAQRRGNSO5MYCPAXGPH2OCSHOGHSQMQ/
Modified Analysis by NIST 6/15/2022 5:40:15 PM
Action
Type
Old Value
New Value
Added
CPE Configuration
OR
*cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
*cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
*cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/[email protected] /message/2PFW6Q2LXXWTFRTMTRN4ZGADFRQPKJ3D/ No Types Assigned
https://lists.fedoraproject.org/archives/list/[email protected] /message/2PFW6Q2LXXWTFRTMTRN4ZGADFRQPKJ3D/ Mailing List, Patch, Third Party Advisory
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/[email protected] /message/36GUEPA5TPSC57DZTPYPBL6T7UPQ2FRH/ No Types Assigned
https://lists.fedoraproject.org/archives/list/[email protected] /message/36GUEPA5TPSC57DZTPYPBL6T7UPQ2FRH/ Mailing List, Third Party Advisory
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/[email protected] /message/HLAQRRGNSO5MYCPAXGPH2OCSHOGHSQMQ/ No Types Assigned
https://lists.fedoraproject.org/archives/list/[email protected] /message/HLAQRRGNSO5MYCPAXGPH2OCSHOGHSQMQ/ Mailing List, Patch, Third Party Advisory
CVE Modified by Snyk 5/07/2022 4:15:07 AM
Action
Type
Old Value
New Value
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/36GUEPA5TPSC57DZTPYPBL6T7UPQ2FRH/ [No Types Assigned]
CVE Modified by Snyk 4/20/2022 5:15:08 PM
Action
Type
Old Value
New Value
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/2PFW6Q2LXXWTFRTMTRN4ZGADFRQPKJ3D/ [No Types Assigned]
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/HLAQRRGNSO5MYCPAXGPH2OCSHOGHSQMQ/ [No Types Assigned]
Initial Analysis by NIST 3/28/2022 9:05:43 AM
Action
Type
Old Value
New Value
Added
CVSS V3.1
NIST AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Added
CVSS V2
NIST (AV:N/AC:M/Au:N/C:N/I:P/A:N)
Added
CWE
NIST CWE-79
Added
CPE Configuration
OR
*cpe:2.3:a:paypal:braintree\/sanitize-url:*:*:*:*:*:node.js:*:* versions up to (excluding) 6.0.0
Changed
Reference Type
https://github.com/braintree/sanitize-url/blob/main/src/index.ts%23L11 No Types Assigned
https://github.com/braintree/sanitize-url/blob/main/src/index.ts%23L11 Broken Link
Changed
Reference Type
https://github.com/braintree/sanitize-url/pull/40 No Types Assigned
https://github.com/braintree/sanitize-url/pull/40 Issue Tracking, Patch, Third Party Advisory
Changed
Reference Type
https://github.com/braintree/sanitize-url/pull/40/commits/e5afda45d9833682b705f73fc2c1265d34832183 No Types Assigned
https://github.com/braintree/sanitize-url/pull/40/commits/e5afda45d9833682b705f73fc2c1265d34832183 Patch, Third Party Advisory
Changed
Reference Type
https://snyk.io/vuln/SNYK-JS-BRAINTREESANITIZEURL-2339882 No Types Assigned
https://snyk.io/vuln/SNYK-JS-BRAINTREESANITIZEURL-2339882 Exploit, Patch, Third Party Advisory
Added
CVSS V2 Metadata
Victim must voluntarily interact with attack mechanism
Quick Info
CVE Dictionary Entry: CVE-2021-23648 NVD
Published Date: 03/16/2022 NVD
Last Modified: 11/21/2024
Source: Snyk