Live threats

All CVEs / Kjur

CVE-2022-25898Kjur Jsrsasign

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.1%
probability of exploitation in 30 days · percentile 64
Auth required
No
Published
Jul 1, 2022
Updated
Jun 22, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-347
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

The package jsrsasign before 10.5.25 are vulnerable to Improper Verification of Cryptographic Signature when JWS or JWT signature with non Base64URL encoding special characters or number escaped characters may be validated as valid by mistake. Workaround: Validate JWS or JWT signature if it has Base64URL and dot safe string before executing JWS.verify() or JWS.verifyJWT() method.

Original NVD text.

What to do

  1. Apply the vendor's security update for Jsrsasign.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm jsrsasign ≥ 4.8.0 < 10.5.25 10.5.25 npm install jsrsasign@10.5.25

Per OSV / GitHub Advisories (GHSA-3fvg-4v2m-98jf). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
kjurjsrsasign≥ 4.8.0 < 10.5.25

Official sources

References

Links published by the sources. Open them with care.

  • github.com Patch Third Party Advisory
  • github.com Release Notes Third Party Advisory
  • snyk.io Exploit Patch Third Party Advisory
  • snyk.io Exploit Patch Third Party Advisory
  • snyk.io Exploit Patch Third Party Advisory
  • snyk.io Exploit Patch Third Party Advisory