CVE
CVE-2021-23648
published medium CVSS 3.1 · 5.4Cross-site Scripting (XSS)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | @braintree/sanitize-urlunspecified to < 6.0.0 | Affected | Not stated | snyk |
| AlmaLinux | 8 | grafana | Advisory build | 7.5.15-3.el8 | ALSA-2022:7519 |
| Oracle Linux | 8 | grafanaaarch64 | Advisory build | 0:7.5.15-3.el8 | ELSA-2022-7519 |
| Red Hat Enterprise Linux | RHEL-8 | grafanaaarch64 | Advisory build | 7.5.15-3.el8 | RHSA-2022:7519 |
| Rocky Linux | 8 | grafanaaarch64 | Listed in advisory | Not stated | RLSA-2022:7519 |
| AlmaLinux | 9 | grafana | Advisory build | 7.5.15-3.el9 | ALSA-2022:8057 |
| Oracle Linux | 8 | grafanax86_64 | Advisory build | 0:7.5.15-3.el8 | ELSA-2022-7519 |
| Oracle Linux | 9 | grafanaaarch64 | Advisory build | 0:7.5.15-3.el9 | ELSA-2022-8057 |
Show 31 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 9 | grafanax86_64 | Advisory build | 0:7.5.15-3.el9 | ELSA-2022-8057 |
| Red Hat Enterprise Linux | RHEL-8 | grafanappc64le | Advisory build | 7.5.15-3.el8 | RHSA-2022:7519 |
| Red Hat Enterprise Linux | RHEL-8 | grafanas390x | Advisory build | 7.5.15-3.el8 | RHSA-2022:7519 |
| Red Hat Enterprise Linux | RHEL-8 | grafanasrc | Advisory build | 7.5.15-3.el8 | RHSA-2022:7519 |
| Red Hat Enterprise Linux | RHEL-8 | grafanax86_64 | Advisory build | 7.5.15-3.el8 | RHSA-2022:7519 |
| Red Hat Enterprise Linux | RHEL-8 | grafana-debuginfoaarch64 | Advisory build | 7.5.15-3.el8 | RHSA-2022:7519 |
| Red Hat Enterprise Linux | RHEL-8 | grafana-debuginfoppc64le | Advisory build | 7.5.15-3.el8 | RHSA-2022:7519 |
| Red Hat Enterprise Linux | RHEL-8 | grafana-debuginfos390x | Advisory build | 7.5.15-3.el8 | RHSA-2022:7519 |
| Red Hat Enterprise Linux | RHEL-8 | grafana-debuginfox86_64 | Advisory build | 7.5.15-3.el8 | RHSA-2022:7519 |
| Red Hat Enterprise Linux | RHEL-9 | grafanaaarch64 | Advisory build | 7.5.15-3.el9 | RHSA-2022:8057 |
| Red Hat Enterprise Linux | RHEL-9 | grafanappc64le | Advisory build | 7.5.15-3.el9 | RHSA-2022:8057 |
| Red Hat Enterprise Linux | RHEL-9 | grafanas390x | Advisory build | 7.5.15-3.el9 | RHSA-2022:8057 |
| Red Hat Enterprise Linux | RHEL-9 | grafanasrc | Advisory build | 7.5.15-3.el9 | RHSA-2022:8057 |
| Red Hat Enterprise Linux | RHEL-9 | grafanax86_64 | Advisory build | 7.5.15-3.el9 | RHSA-2022:8057 |
| Red Hat Enterprise Linux | RHEL-9 | grafana-debuginfoaarch64 | Advisory build | 7.5.15-3.el9 | RHSA-2022:8057 |
| Red Hat Enterprise Linux | RHEL-9 | grafana-debuginfoppc64le | Advisory build | 7.5.15-3.el9 | RHSA-2022:8057 |
| Red Hat Enterprise Linux | RHEL-9 | grafana-debuginfos390x | Advisory build | 7.5.15-3.el9 | RHSA-2022:8057 |
| Red Hat Enterprise Linux | RHEL-9 | grafana-debuginfox86_64 | Advisory build | 7.5.15-3.el9 | RHSA-2022:8057 |
| Rocky Linux | 8 | grafanasrc | Listed in advisory | Not stated | RLSA-2022:7519 |
| Rocky Linux | 8 | grafanax86_64 | Listed in advisory | Not stated | RLSA-2022:7519 |
| Rocky Linux | 8 | grafana-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2022:7519 |
| Rocky Linux | 8 | grafana-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2022:7519 |
| Rocky Linux | 9 | grafanaaarch64 | Listed in advisory | Not stated | RLSA-2022:8057 |
| Rocky Linux | 9 | grafanappc64le | Listed in advisory | Not stated | RLSA-2022:8057 |
| Rocky Linux | 9 | grafanas390x | Listed in advisory | Not stated | RLSA-2022:8057 |
| Rocky Linux | 9 | grafanasrc | Listed in advisory | Not stated | RLSA-2022:8057 |
| Rocky Linux | 9 | grafanax86_64 | Listed in advisory | Not stated | RLSA-2022:8057 |
| Rocky Linux | 9 | grafana-debuginfoaarch64 | Listed in advisory | Not stated | RLSA-2022:8057 |
| Rocky Linux | 9 | grafana-debuginfoppc64le | Listed in advisory | Not stated | RLSA-2022:8057 |
| Rocky Linux | 9 | grafana-debuginfos390x | Listed in advisory | Not stated | RLSA-2022:8057 |
| Rocky Linux | 9 | grafana-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2022:8057 |
Description
The package @braintree/sanitize-url before 6.0.0 are vulnerable to Cross-site Scripting (XSS) due to improper sanitization in sanitizeUrl function.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- snyk · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | @braintree/sanitize-url | unspecified to < 6.0.0 (affected · custom) | snyk · cna |
Weaknesses
1- Cross-site Scripting (XSS)
References
7- https://github.com/braintree/sanitize-url/blob/main/src/index.ts%23L11
- https://github.com/braintree/sanitize-url/pull/40
- https://github.com/braintree/sanitize-url/pull/40/commits/e5afda45d9833682b705f73fc2c1265d34832183
- FEDORA-2022-9dd03cab55 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2PFW6Q2LXXWTFRTMTRN4ZGADFRQPKJ3D/
- FEDORA-2022-c5383675d9 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/36GUEPA5TPSC57DZTPYPBL6T7UPQ2FRH/
- FEDORA-2022-83405f9d5b https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HLAQRRGNSO5MYCPAXGPH2OCSHOGHSQMQ/
- https://snyk.io/vuln/SNYK-JS-BRAINTREESANITIZEURL-2339882
Provider assertions
2snyk · cna
Cross-site Scripting (XSS)
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- bcec391a705a52f78693434102d79ec9f9edeff4030121cbdae8752e8794ac13
- Ingested
- 23 Sep 2026, 07:52:52 UTC
- Source record
- Official CVE record