← Vulnerability feed

Vulnerability record · CVE-2022-25898 · published 1 July 2022

CVE-2022-25898: Kjur jsrsasign improper verification of cryptographic signature vulnerability

Kjur · Jsrsasign

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.

9.8 CVSS 3.1 Critical EPSS 1.2% · top 34.3% CWE-347 · Improper verification of cryptographic signature
9.8CVSS 3.1 base score, v2 7.5
1.2%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
12References, 8 tagged exploit
22 Jun 2026Last modified by NVD

Description

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2022-25898 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2020-14967Kjur jsrsasign memory buffer overflow vulnerabilityAn issue was discovered in the jsrsasign package before 8.0.18 for Node.js. Its RSA PKCS1 v1.5 decryption implementation does not detect ciphertext m…EPSS 2.3%9.8CVE-2020-14968Kjur jsrsasign memory buffer overflow vulnerabilityAn issue was discovered in the jsrsasign package before 8.0.17 for Node.js. Its RSASSA-PSS (RSA-PSS) implementation does not detect signature manipul…EPSS 2.9%9.3CVE-2026-4599Kjur jsrsasign vulnerabilityVersions of the package jsrsasign from 7.0.0 and before 11.1.1 are vulnerable to Incomplete Comparison with Missing Factors via the getRandomBigInteg…EPSS 0.78%9.1CVE-2021-30246Kjur jsrsasign improper verification of cryptographic signature vulnerabilityIn the jsrsasign package through 10.1.13 for Node.js, some invalid RSA PKCS#1 v1.5 signatures are mistakenly recognized to be valid. NOTE: there is n…EPSS 0.96%8.8CVE-2026-4601Kjur jsrsasign vulnerabilityVersions of the package jsrsasign before 11.1.1 are vulnerable to Missing Cryptographic Step via the KJUR.crypto.DSA.signWithMessageHash process in t…EPSS 0.47%8.1CVE-2026-4600Kjur jsrsasign improper verification of cryptographic signature vulnerabilityVersions of the package jsrsasign before 11.1.1 are vulnerable to Improper Verification of Cryptographic Signature via the DSA domain-parameter valid…EPSS 0.32%7.7CVE-2026-4602Kjur jsrsasign vulnerabilityVersions of the package jsrsasign before 11.1.1 are vulnerable to Incorrect Conversion between Numeric Types due to handling negative exponents in ex…EPSS 0.88%7.7CVE-2026-4598Kjur jsrsasign vulnerabilityVersions of the package jsrsasign before 11.1.1 are vulnerable to Infinite loop via the bnModInverse function in ext/jsbn2.js when the BigInteger.mod…EPSS 0.96%

Source: NIST National Vulnerability Database (record CVE-2022-25898), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.