All reports
Medium

Denial of Service in url-relative

Affected versions

Affected versions
<= 1.0.0
Fixed version
Not reported

Description

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.

Links