Vulnerability library
Security checkJanuary 27, 2023

JWS and JWT signature validation vulnerability with special characters

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmjsrsasign

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Jsrsasign supports JWS(JSON Web Signatures) and JWT(JSON Web Token) validation. However JWS or JWT signature with non Base64URL encoding special characters or number escaped characters may be validated as valid by mistake.

Recommendation

Update the jsrsasign package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 4.8.0, < 10.5.25
  • Patched version(s): 10.5.25

References

Could your website be exposed too?

SmartScanner can check your website for JWS and JWT signature validation vulnerability with special characters and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 27, 2023