Skip to content

huntr

medialize/URI.js

Every publicly disclosed report for medialize/URI.js and what kind of bugs they were.

disclosed reports
6
most reported class
Open redirect
bug classes found
5
first disclosure
2021
Find medialize/URI.js on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what medialize/URI.js chose to make public.

XSS

Incorrect protocol extraction via \r, \n and \t characters

The urijs library incorrectly extracts the protocol from URLs containing carriage return, line feed, or tab characters, so a URL like 'ja\r\nvascript:alert(1)' is not recognised as a javascript: URL. An attacker could bypass a check that blocks javascript: links and inject a malicious link into HTML, leading to cross-site scripting.

medialize/URI.js

High
Open redirect

URL Confusion When Scheme Not Supplied in medialize/uri.js

URI.js parses a URL without a scheme and with excessive slashes (like ///www.example.com) differently from browsers, treating the hostname as null and the path as /www.example.com. An attacker could use this to cause a redirect to an unintended host, as shown by the example that redirects to http://www.example.com.

medialize/URI.js

Medium
Access control

Leading white space bypasses protocol validation

The URI.js library does not strip leading whitespace from URLs before parsing, so protocol validation can be bypassed. An attacker could supply a URL with leading whitespace to evade checks that rely on the parsed protocol.

medialize/URI.js

Medium
SSRF

URIjs Vulnerable to Hostname spoofing via backslashes in URL

The URI.js library incorrectly parses URLs containing backslashes in the scheme delimiter, returning no hostname instead of the actual hostname. An attacker could exploit this to bypass allow/block lists, perform SSRF, or open redirects if the library is used for security decisions.

medialize/URI.js

Medium