Skip to content

Releases: vgno/koa-remove-trailing-slashes

v2.0.3

17 May 09:01
e3264ee
Compare
Choose a tag to compare

Fixes

v2.0.2

17 May 09:00
Compare
Choose a tag to compare

This patch release fixes a security issue that allowed a malicious actor to trick the middleware into redirecting to other domains. After this patch release, the middleware will only remove a trailing slash from the path if the resulting Location-header will still redirect the user to the same domain he was originally requesting.

The vulnerability and attack vector is described in greater detail in CVE-2021-23384.

Big thank you goes out to @apple502j for discovering and disclosing this vulnerability to us.

Fixes

v1.0.0

20 Jan 16:24
Compare
Choose a tag to compare
Initial commit