jwtInterceptorProvider.whiteListedDomains = ['whitelisted.Example.com'];
An attacker can set up a domain whitelistedXexample.com
that will pass the allow list filter. The root cause for this is that angular-jwt
always treats whiteListedDomains
entries as regular expressions and causes .
separator to match any character.
0.1.10
0.1.10
.
Updated package is available on NPM: npm install angular-jwt@0.1.10
To make it easier to keep up with security updates in the future, please make sure your package.json
file is updated to take patch and minor level updates of our libraries: