High severity7.7NVD Advisory· Published Jul 1, 2022· Updated Jun 22, 2026
CVE-2022-25898
CVE-2022-25898
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
jsrsasignnpm | >= 4.8.0, < 10.5.25 | 10.5.25 |
Affected products
3- jsrsasign/jsrsasigndescription
Patches
Vulnerability mechanics
References
9- github.com/kjur/jsrsasign/commit/4536a6e9e8bcf1a644ab7c07ed96e453347dae41nvdPatchThird Party AdvisoryWEB
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-2935898nvdExploitPatchThird Party AdvisoryWEB
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBKJUR-2935897nvdExploitPatchThird Party AdvisoryWEB
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2935896nvdExploitPatchThird Party AdvisoryWEB
- snyk.io/vuln/SNYK-JS-JSRSASIGN-2869122nvdExploitPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-3fvg-4v2m-98jfghsaADVISORY
- github.com/kjur/jsrsasign/releases/tag/10.5.25nvdRelease NotesThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2022-25898ghsaADVISORY
- cve.mitre.org/cgi-bin/cvename.cgighsaWEB
News mentions
0No linked articles in our index yet.