Vulnerability library
Security checkJuly 21, 2026

jsrsasign: Negative Exponent Handling Leads to Signature Verification Bypass

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

Versions of the package jsrsasign before 11.1.1 are vulnerable to Incorrect Conversion between Numeric Types due to handling negative exponents in ext/jsbn2.js. An attacker can force the computation of incorrect modular inverses and break signature verification by calling modPow with a negative exponent.

Recommendation

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

  • Affected version(s): < 11.1.1
  • Patched version(s): 11.1.1

References

Could your website be exposed too?

SmartScanner can check your website for jsrsasign: Negative Exponent Handling Leads to Signature Verification Bypass and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated July 21, 2026