CVE-2022-25898
Published:July 01, 2022
Updated:May 17, 2026
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.
Affected Packages
jsrsasign (CDN_JS):
Affected version(s) >=4.8.0 <10.5.25Fix Suggestion:
Update to version 10.5.25jsrsasign (NPM):
Affected version(s) >=4.8.2 <10.5.25Fix Suggestion:
Update to version 10.5.25Related Resources (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.7
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
HIGH
Exploit Maturity
POC
CVSS v3
Base Score:
7.7
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
HIGH
Exploit Maturity
PROOF-OF-CONCEPT
Weakness Type (CWE)
Improper Verification of Cryptographic Signature
EPSS
Base Score:
1.77