{"cve":"CVE-2022-25898","nvd":{"published":"2022-07-01T20:15:08.023","modified":"2026-06-22T03:18:31.867","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-347"],"references":["https://github.com/kjur/jsrsasign/commit/4536a6e9e8bcf1a644ab7c07ed96e453347dae41","https://github.com/kjur/jsrsasign/releases/tag/10.5.25","https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-2935898","https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBKJUR-2935897","https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2935896"],"products":["kjur:jsrsasign"],"source":"nvd","synced_at":"2026-10-19T21:33:44.859608815+00:00"},"epss":{"cve":"CVE-2022-25898","score":0.01153,"percentile":0.66977,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-3fvg-4v2m-98jf","url":"https://osv.dev/vulnerability/GHSA-3fvg-4v2m-98jf","summary":"JWS and JWT signature validation vulnerability with special characters","modified":"2025-01-14T10:57:26.432483Z","packages":[{"ecosystem":"npm","name":"jsrsasign","purl":"pkg:npm/jsrsasign","ranges":[">=4.8.0 <10.5.25"],"fixed":["10.5.25"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}