Description
If using affected versions to determine a URL’s hostname, the hostname can be spoofed by using a backslash (\) character followed by an at (@) character. If the hostname is used in security decisions, the decision may be incorrect.
Recommendation
Update the urijs package to the latest compatible version. Followings are version details:
- Affected version(s): < 1.19.4
- Patched version(s): 1.19.4
References
Related Issues
- URIjs Vulnerable to Hostname spoofing via backslashes in URL - CVE-2021-3647
- URIjs Hostname spoofing via backslashes in URL - CVE-2021-27516
- Incorrect protocol extraction via \r, \n and \t characters - CVE-2022-1243
- Vite XSS vulnerability in `server.transformIndexHtml` via URL payload - CVE-2023-49293
- Tags:
- npm
- urijs
Anything's wrong? Let us know Last updated on February 01, 2023