Vulnerability in Jsrsasign Project

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.

EPSS: 0.011 (62.2th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2022-25898?
CVE-2022-25898 is a high-severity vulnerability in Jsrsasign Project, classified under Improper Verification of Cryptographic Signature. CVSS score: 7.7/10. Published 2022-07-01.
How severe is CVE-2022-25898?
High severity. CVSS v3 base score is 7.7 out of 10.
Is CVE-2022-25898 known to be exploited?
8 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.