GHSA-86p3-4gfq-38f2
MEDIUM 5.9CVSS 3.1Denial of Service in url-relative
All versions of url-relative are vulnerable to Denial of Service. If the values to and from are equal, the function hangs and never returns. This may cause a Denial of Service.
Recommendation
No fix is currently available. Consider using an alternative module until a fix is made available.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | url-relative | <= 1.0.0 |
References
- https://github.com/junosuarez/url-relative/issues/3 · WEB
- https://snyk.io/vuln/SNYK-JS-URLRELATIVE-173691 · WEB
- https://www.npmjs.com/advisories/783 · WEB
History
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 5 Jun 2019)