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