Advisories for Npm/Useragent package

2024
2018

Improper Input Validation

Useragent is used to parse useragent headers. It uses several regular expressions to accomplish this. An attacker could edit their own headers, creating an arbitrarily long useragent string, causing the event loop and server to block.

2017