{"id":"GHSA-86p3-4gfq-38f2","aliases":["GHSA-86p3-4gfq-38f2"],"related":[],"kind":"vulnerability","state":"published","title":"Denial of Service in url-relative","summary":"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.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative module until a fix is made available.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative module until a fix is made available.","format":"markdown","source":"ghsa"}],"published":"2019-06-05T14:10:34.000Z","modified":"2021-08-04T21:31:03.000Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.0.0"}],"ecosystem":"npm","package":"url-relative","purl":"pkg:npm/url-relative","source":"ghsa"}],"references":[{"url":"https://github.com/junosuarez/url-relative/issues/3","tags":["web"],"sources":["ghsa"]},{"url":"https://snyk.io/vuln/SNYK-JS-URLRELATIVE-173691","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/783","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-86p3-4gfq-38f2","url":"https://github.com/advisories/GHSA-86p3-4gfq-38f2","licence":"CC-BY-4.0","modified":"2021-08-04T21:31:03.000Z"}],"updatedAt":"2026-11-25T22:56:44.675Z"}