CVE-2021-3647: URI.js is vulnerable to URL Redirection to Untrusted Site
41
This month
MEDIUM 6.1UPGRADE
CVE-2021-3647 is a medium-severity flaw (CVSS 6.1) affecting uri.js. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
URI.js is vulnerable to URL Redirection to Untrusted Site
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.1 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.9% (top 40%) |
| CISA exploited list | No |
| Weakness | CWE-601 |
| Published | 2021-07-16 |
| Last modified | 2026-06-17 |
Publisher (CNA): huntr.dev · Vendor: uri.js project
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
uri.js project uri.js UPGRADE
Affected: < 1.19.7
Fixed in: 1.19.7
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy uri.js || rpm -q uri.js || uri.js --version
2. UPGRADE to 1.19.7 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade uri.js
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade uri.js
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-3647?
uri.js: upgrade to 1.19.7. Exact commands for each OS are on this page.
Is CVE-2021-3647 being exploited?
CVE-2021-3647 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-3647 affect?
CVE-2021-3647 affects uri.js. Severity is medium (CVSS 6.1). URI.js is vulnerable to URL Redirection to Untrusted Site
How urgent is CVE-2021-3647?
Priority 41/100. Public exploit reference
Related CVEs
- CVE-2022-24723 MEDIUM 5.3 UPGRADE URI.js is a Javascript URL mutation library
- CVE-2022-1243 MEDIUM 6.1 UPGRADE CRHTLF can lead to invalid protocol extraction potentially leading to XSS in GitHub repository medialize/uri.j
- CVE-2022-1233 MEDIUM 6.1 UPGRADE URL Confusion When Scheme Not Supplied in GitHub repository medialize/uri.js prior to 1.19.11.
- CVE-2022-0868 MEDIUM 6.1 UPGRADE Open Redirect in GitHub repository medialize/uri.js prior to 1.19.10.
- CVE-2022-0613 MEDIUM 6.5 UPGRADE MITIGATE Authorization Bypass Through User-Controlled Key in NPM urijs prior to 1.19.8.