Description
Medialize is a Javascript URL mutation library. When parsing a URL without a scheme and with excessive slashes, like ///www.example.com, URI.js will parse the hostname as null and the path as /www.example.com. Such behaviour is different from that exhibited by browsers, which will parse ///www.example.com as http://www.example.com instead.
Recommendation
Update the urijs
package to the latest compatible version. Followings are version details:
- Affected version(s): < 1.19.11
- Patched version(s): 1.19.11
References
Related Issues
- Finance.js vulnerable to DoS via the seekZero() parameter - CVE-2025-56572
- Stimulsoft Dashboard.JS directory traversal vulnerability - CVE-2024-24398
- URIjs Hostname spoofing via backslashes in URL - CVE-2021-27516
- Incorrect protocol extraction via \r, \n and \t characters - CVE-2022-1243
- Tags:
- npm
- urijs
Anything's wrong? Let us know Last updated on January 27, 2023