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.
No fix is currently available. Consider using an alternative module until a fix is made available.
{
"cwe_ids": [
"CWE-400"
],
"github_reviewed": true,
"github_reviewed_at": "2019-06-05T13:46:47Z",
"nvd_published_at": null,
"severity": "MODERATE"
}