CVE-2022-25898
CWE-347Published: July 1, 2022· Updated: Jun 22, 2026
Official 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.
Technical Analysis
CVE-2022-25898 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (12)
Quick Facts
Related CVEs (CWE-347)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2022-25898 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts