Vulnerability in Kjur Jsrsasign

CVE-2022-25898

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.7 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H.

EPSS exploit prediction

EPSS 0.012, 67.5th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 8 other repositories (ARPSyndicate/cvemon, coachaac/jsrsasign-npm, diotoborg/laudantium-itaque-esse, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References