Open Redirect Affecting org.webjars.npm:urijs package, versions [,1.19.11)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.07% (35th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Open Redirect vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGWEBJARSNPM-2419068
  • published6 Mar 2022
  • disclosed6 Mar 2022
  • credithuydoppa

Introduced: 6 Mar 2022

CVE-2022-0868  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade org.webjars.npm:urijs to version 1.19.11 or higher.

Overview

org.webjars.npm:urijs is a Javascript library for working with URLs.

Affected versions of this package are vulnerable to Open Redirect by bypassing the fix for CVE-2022-0613 an attacker is still able to redirect.

PoC

// PoC.js
var URI = require('urijs');
var url = new URI("https::\\\github.com/foo/bar");
console.log(url);

CVSS Scores

version 3.1