{"api_version":"1","generated_at":"2026-04-22T21:27:09+00:00","cve":"CVE-2021-23648","urls":{"html":"https://cve.report/CVE-2021-23648","api":"https://cve.report/api/cve/CVE-2021-23648.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-23648","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-23648"},"summary":{"title":"CVE-2021-23648","description":"The package @braintree/sanitize-url before 6.0.0 are vulnerable to Cross-site Scripting (XSS) due to improper sanitization in sanitizeUrl function.","state":"PUBLIC","assigner":"report@snyk.io","published_at":"2022-03-16 16:15:00","updated_at":"2023-11-07 03:30:00"},"problem_types":["CWE-79"],"metrics":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-BRAINTREESANITIZEURL-2339882","name":"https://snyk.io/vuln/SNYK-JS-BRAINTREESANITIZEURL-2339882","refsource":"MISC","tags":[],"title":"Cross-site Scripting (XSS) in @braintree/sanitize-url | CVE-2021-23648 | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2PFW6Q2LXXWTFRTMTRN4ZGADFRQPKJ3D/","name":"FEDORA-2022-9dd03cab55","refsource":"","tags":[],"title":"[SECURITY] Fedora 35 Update: grafana-7.5.15-2.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/36GUEPA5TPSC57DZTPYPBL6T7UPQ2FRH/","name":"FEDORA-2022-c5383675d9","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 36 Update: grafana-7.5.15-2.fc36 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HLAQRRGNSO5MYCPAXGPH2OCSHOGHSQMQ/","name":"FEDORA-2022-83405f9d5b","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 34 Update: grafana-7.5.15-2.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/braintree/sanitize-url/blob/main/src/index.ts%23L11","name":"https://github.com/braintree/sanitize-url/blob/main/src/index.ts%23L11","refsource":"MISC","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":""},{"url":"https://github.com/braintree/sanitize-url/pull/40","name":"https://github.com/braintree/sanitize-url/pull/40","refsource":"MISC","tags":[],"title":"feat: decode html entities before sanitizing by crookedneighbor · Pull Request #40 · braintree/sanitize-url · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/36GUEPA5TPSC57DZTPYPBL6T7UPQ2FRH/","name":"FEDORA-2022-c5383675d9","refsource":"","tags":[],"title":"[SECURITY] Fedora 36 Update: grafana-7.5.15-2.fc36 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HLAQRRGNSO5MYCPAXGPH2OCSHOGHSQMQ/","name":"FEDORA-2022-83405f9d5b","refsource":"","tags":[],"title":"[SECURITY] Fedora 34 Update: grafana-7.5.15-2.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/braintree/sanitize-url/pull/40/commits/e5afda45d9833682b705f73fc2c1265d34832183","name":"https://github.com/braintree/sanitize-url/pull/40/commits/e5afda45d9833682b705f73fc2c1265d34832183","refsource":"MISC","tags":[],"title":"feat: decode html entities before sanitizing by crookedneighbor · Pull Request #40 · braintree/sanitize-url · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2PFW6Q2LXXWTFRTMTRN4ZGADFRQPKJ3D/","name":"FEDORA-2022-9dd03cab55","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 35 Update: grafana-7.5.15-2.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/braintree/sanitize-url/blob/main/src/index.ts#L11","name":"MISC:https://github.com/braintree/sanitize-url/blob/main/src/index.ts%23L11","refsource":"MITRE","tags":[],"title":"sanitize-url/index.ts at main · braintree/sanitize-url · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-23648","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23648","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Bob \"Wombat\" Hogg","lang":""}],"nvd_cpes":[{"cve_year":"2021","cve_id":"23648","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"34","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"23648","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"35","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"23648","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"36","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"23648","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"paypal","cpe5":"braintree\\/sanitize-url","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-23648","qid":"160238","title":"Oracle Enterprise Linux Security Update for grafana (ELSA-2022-7519)"},{"cve":"CVE-2021-23648","qid":"160278","title":"Oracle Enterprise Linux Security Update for grafana (ELSA-2022-8057)"},{"cve":"CVE-2021-23648","qid":"180818","title":"Debian Security Update for node-mermaid (CVE-2021-23648)"},{"cve":"CVE-2021-23648","qid":"240850","title":"Red Hat Update for grafana security (RHSA-2022:7519)"},{"cve":"CVE-2021-23648","qid":"240902","title":"Red Hat Update for grafana security (RHSA-2022:8057)"},{"cve":"CVE-2021-23648","qid":"282601","title":"Fedora Security Update for grafana (FEDORA-2022-83405f9d5b)"},{"cve":"CVE-2021-23648","qid":"282602","title":"Fedora Security Update for grafana (FEDORA-2022-9dd03cab55)"},{"cve":"CVE-2021-23648","qid":"940770","title":"AlmaLinux Security Update for grafana (ALSA-2022:7519)"},{"cve":"CVE-2021-23648","qid":"940826","title":"AlmaLinux Security Update for grafana (ALSA-2022:8057)"},{"cve":"CVE-2021-23648","qid":"960182","title":"Rocky Linux Security Update for grafana (RLSA-2022:7519)"},{"cve":"CVE-2021-23648","qid":"960528","title":"Rocky Linux Security Update for grafana (RLSA-2022:8057)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2022-03-16T15:41:27.827225Z","ID":"CVE-2021-23648","STATE":"PUBLIC","TITLE":"Cross-site Scripting (XSS)"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"@braintree/sanitize-url","version":{"version_data":[{"version_affected":"<","version_value":"6.0.0"}]}}]},"vendor_name":"n/a"}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Cross-site Scripting (XSS)"}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JS-BRAINTREESANITIZEURL-2339882","name":"https://snyk.io/vuln/SNYK-JS-BRAINTREESANITIZEURL-2339882"},{"refsource":"MISC","url":"https://github.com/braintree/sanitize-url/blob/main/src/index.ts%23L11","name":"https://github.com/braintree/sanitize-url/blob/main/src/index.ts%23L11"},{"refsource":"MISC","url":"https://github.com/braintree/sanitize-url/pull/40","name":"https://github.com/braintree/sanitize-url/pull/40"},{"refsource":"MISC","url":"https://github.com/braintree/sanitize-url/pull/40/commits/e5afda45d9833682b705f73fc2c1265d34832183","name":"https://github.com/braintree/sanitize-url/pull/40/commits/e5afda45d9833682b705f73fc2c1265d34832183"},{"refsource":"FEDORA","name":"FEDORA-2022-83405f9d5b","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HLAQRRGNSO5MYCPAXGPH2OCSHOGHSQMQ/"},{"refsource":"FEDORA","name":"FEDORA-2022-9dd03cab55","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2PFW6Q2LXXWTFRTMTRN4ZGADFRQPKJ3D/"},{"refsource":"FEDORA","name":"FEDORA-2022-c5383675d9","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/36GUEPA5TPSC57DZTPYPBL6T7UPQ2FRH/"}]},"description":{"description_data":[{"lang":"eng","value":"The package @braintree/sanitize-url before 6.0.0 are vulnerable to Cross-site Scripting (XSS) due to improper sanitization in sanitizeUrl function."}]},"impact":{"cvss":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P","baseScore":5.4,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"}},"credit":[{"lang":"eng","value":"Bob \"Wombat\" Hogg"}]},"nvd":{"publishedDate":"2022-03-16 16:15:00","lastModifiedDate":"2023-11-07 03:30:00","problem_types":["CWE-79"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":2.7},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":4.3},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:paypal:braintree\\/sanitize-url:*:*:*:*:*:node.js:*:*","versionEndExcluding":"6.0.0","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"23648","Ordinal":"198375","Title":"CVE-2021-23648","CVE":"CVE-2021-23648","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"23648","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}