Bug 2174307 (CVE-2022-48345) - CVE-2022-48345 sanitize-url: XSS via HTML entities
Summary: CVE-2022-48345 sanitize-url: XSS via HTML entities
Keywords:
Status: NEW
Alias: CVE-2022-48345
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2174387 2174388 2174389 2174390
Blocks: 2173229
TreeView+ depends on / blocked
 
Reported: 2023-03-01 05:24 UTC by Sandipan Roy
Modified: 2024-03-02 05:32 UTC (History)
6 users (show)

Fixed In Version: sanitize-url 6.0.2
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in sanitize-url. It does not correctly sanitize with colons, possibly leading to a Cross-site scripting risk.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Sandipan Roy 2023-03-01 05:24:20 UTC
sanitize-url (aka @braintree/sanitize-url) before 6.0.2 allows XSS via HTML entities.

https://github.com/braintree/sanitize-url/commit/d4bdc89f1743fe3cdb7c3f24b06e4c875f349b0c
https://github.com/braintree/sanitize-url/compare/v6.0.1...v6.0.2

Comment 1 Pedro Sampaio 2023-03-01 12:35:32 UTC
sanatize-url before 6.0.2 does not correctly sanitize url with colons possibly leading to cross-site scripting risk.

Comment 2 Pedro Sampaio 2023-03-01 12:47:22 UTC
Created grafana tracking bugs for this issue:

Affects: fedora-36 [bug 2174387]


Created zuul tracking bugs for this issue:

Affects: fedora-36 [bug 2174388]


Note You need to log in before you can comment on or make changes to this bug.