{"id":"CVE-2022-0122","aliases":["CLSA-2026-1774916733","CLSA-2026-1793814373","EUVD-2022-0527","GHSA-5rrq-pxf6-6jx5","GHSA-8fr3-hfg3-gpgp","GHSA-gf8q-jrpm-jvxq","ROOT-APP-NPM-CVE-2022-0122","ROOT-APP-NPM-GHSA-5rrq-pxf6-6jx5","ROOT-APP-NPM-GHSA-gf8q-jrpm-jvxq"],"status":"published","title":"Open Redirect in digitalbazaar/forge","description":"forge is vulnerable to URL Redirection to Untrusted Site","severity":{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-08","score":0.00867,"percentile":0.58959,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1321","CWE-601"],"published":"2022-01-06T05:00:12Z","modified":"2026-11-05T01:00:02Z","fixes":[{"ecosystem":"npm","package":"node-forge","fixed_in":["1.0.0"],"sources":["ghsa","osv"]},{"ecosystem":"Root:npm","package":"node-forge","fixed_in":["0.10.0-aikido.3","0.7.1-aikido.5","0.7.1-aikido.6","0.7.1-aikido.7","0.7.6-aikido.2","0.10.0-aikido.4","1.0.0-aikido.1"],"sources":["osv"]},{"ecosystem":"Root:npm","package":"@rootio/node-forge","fixed_in":["0.10.0-root.io.3","0.7.1-root.io.5","0.7.1-root.io.6","0.7.1-root.io.7","0.7.6-root.io.2","0.10.0-root.io.4","1.0.0-root.io.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"node-forge","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.0"}]}]},{"source":"ghsa","ecosystem":"npm","package":"node-forge","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.0"}]}]},{"source":"ghsa","ecosystem":"npm","package":"node-forge","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.0"}]}]},{"source":"osv","ecosystem":"TuxCare:npm","package":"node-forge","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.10.0-tuxcare.0"},{"fixed":"0.10.0-tuxcare.4"}]}],"versions":["0.10.0","0.10.0-tuxcare.1","0.10.0-tuxcare.2","0.10.0-tuxcare.3"],"bundled":3},{"source":"osv","ecosystem":"TuxCare:npm","package":"node-forge","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.9.0-tuxcare.0"},{"fixed":"0.9.0-tuxcare.1"}]}],"versions":["0.9.0"],"bundled":7},{"source":"osv","ecosystem":"npm","package":"node-forge","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.0.0"}]}]},{"source":"osv","ecosystem":"npm","package":"node-forge","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.0.0"}]}]},{"source":"osv","ecosystem":"npm","package":"node-forge","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.0.0"}]}]},{"source":"osv","ecosystem":"Root:npm","package":"node-forge","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.0-aikido.3"},{"fixed":"0.7.1-aikido.5"},{"fixed":"0.7.1-aikido.6"},{"fixed":"0.7.1-aikido.7"},{"fixed":"0.7.6-aikido.2"},{"fixed":"0.10.0-aikido.4"},{"fixed":"1.0.0-aikido.1"}]}]},{"source":"osv","ecosystem":"Root:npm","package":"@rootio/node-forge","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.0-root.io.3"},{"fixed":"0.7.1-root.io.5"},{"fixed":"0.7.1-root.io.6"},{"fixed":"0.7.1-root.io.7"},{"fixed":"0.7.6-root.io.2"},{"fixed":"0.10.0-root.io.4"},{"fixed":"1.0.0-root.io.1"}]}]},{"source":"osv","ecosystem":"Root:npm","package":"node-forge","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.0-aikido.1"}]}]},{"source":"osv","ecosystem":"Root:npm","package":"@rootio/node-forge","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.0-root.io.1"}]}]},{"source":"osv","ecosystem":"Root:npm","package":"node-forge","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.0-aikido.1"}]}]},{"source":"osv","ecosystem":"Root:npm","package":"@rootio/node-forge","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.0-root.io.1"}]}]}],"products":[{"vendor":"digitalbazaar","product":"digitalbazaar/forge"},{"vendor":"digitalbazaar","product":"forge"}],"references":[{"url":"https://huntr.dev/bounties/41852c50-3c6d-4703-8c55-4db27164a4ae","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","web"]},{"url":"https://github.com/digitalbazaar/forge/commit/db8016c805371e72b06d8e2edfe0ace0df934a5e","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/digitalbazaar/forge/security/advisories/GHSA-5rrq-pxf6-6jx5","tags":["web"]},{"url":"https://github.com/advisories/GHSA-5rrq-pxf6-6jx5"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0122","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-8fr3-hfg3-gpgp"},{"url":"https://github.com/digitalbazaar/forge/security/advisories/GHSA-gf8q-jrpm-jvxq","tags":["web"]},{"url":"https://www.huntr.dev/bounties/41852c50-3c6d-4703-8c55-4db27164a4ae","tags":["web"]},{"url":"https://github.com/advisories/GHSA-gf8q-jrpm-jvxq"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0122.json","tags":["advisory"]},{"url":"https://github.com/digitalbazaar/forge","tags":["package","web"]}],"sources":{"cve":[{"id":"CVE-2022-0122","title":"Open Redirect in digitalbazaar/forge","description":"forge is vulnerable to URL Redirection to Untrusted Site","status":"published","published":"2022-01-06T05:00:12Z","modified":"2024-08-02T23:18:41.696Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-601"],"updated_at":"2026-11-02T14:34:41.69911Z"}],"euvd":[{"id":"EUVD-2022-0527","description":"forge is vulnerable to URL Redirection to Untrusted Site","status":"published","published":"2022-01-06T05:00:12Z","modified":"2024-08-02T23:18:41Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-03T03:26:06.635969Z"}],"ghsa":[{"id":"GHSA-8fr3-hfg3-gpgp","title":"Open Redirect in node-forge","description":"parseUrl functionality in node-forge mishandles certain uses of backslash such as `https:/\\/\\/\\` and interprets the URI as a relative path. ","status":"published","published":"2022-01-21T23:36:19Z","modified":"2023-09-11T22:42:43Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-601"],"updated_at":"2026-11-02T14:37:04.447845Z"},{"id":"GHSA-5rrq-pxf6-6jx5","title":"Prototype Pollution in node-forge debug API.","description":"### Impact\nThe `forge.debug` API had a potential prototype pollution issue if called with untrusted input. The API was only used for internal debug purposes in a safe way and never documented or advertised.  It is suspected that uses of this API, if any exist, would likely not have used untrusted inputs in a vulnerable way.\n\n### Patches\nThe `forge.debug` API and related functions were removed in 1.0.0.\n\n### Workarounds\nDon't use the `forge.debug` API directly or indirectly with untrusted input.\n\n### References\n- https://www.huntr.dev/bounties/1-npm-node-forge/\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [forge](https://github.com/digitalbazaar/forge).\n* Email us at support@digitalbazaar.com.","status":"published","published":"2022-01-08T00:22:42Z","modified":"2023-01-11T05:03:14Z","cwes":["CWE-1321"],"updated_at":"2026-11-02T14:36:12.361159Z"},{"id":"GHSA-gf8q-jrpm-jvxq","title":"URL parsing in node-forge could lead to undesired behavior.","description":"### Impact\nThe regex used for the `forge.util.parseUrl` API would not properly parse certain inputs resulting in a parsed data structure that could lead to undesired behavior.\n\n### Patches\n`forge.util.parseUrl` and other very old related URL APIs were removed in 1.0.0 in favor of letting applications use the more modern WHATWG URL Standard API.\n\n### Workarounds\nEnsure code does not directly or indirectly call `forge.util.parseUrl` with untrusted input.\n\n### References\n- https://www.huntr.dev/bounties/41852c50-3c6d-4703-8c55-4db27164a4ae/\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [forge](https://github.com/digitalbazaar/forge)\n* Email us at support@digitalbazaar.com\n","status":"published","published":"2022-01-08T00:22:02Z","modified":"2023-01-11T05:08:11Z","cwes":["CWE-601"],"updated_at":"2026-11-02T14:36:13.23016Z"}],"nvd":[{"id":"CVE-2022-0122","description":"forge is vulnerable to URL Redirection to Untrusted Site","status":"published","published":"2022-01-06T05:15:09.49Z","modified":"2026-06-17T04:20:00.613Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-601"],"updated_at":"2026-11-02T14:07:10.836864Z"}],"osv":[{"id":"CVE-2022-0122","title":"Open Redirect in digitalbazaar/forge","description":"forge is vulnerable to URL Redirection to Untrusted Site","status":"published","published":"2022-01-06T05:00:12Z","modified":"2026-10-28T02:30:34.405455394Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-601"],"updated_at":"2026-11-02T15:44:22.824781Z"},{"id":"GHSA-8fr3-hfg3-gpgp","title":"Open Redirect in node-forge","description":"parseUrl functionality in node-forge mishandles certain uses of backslash such as `https:/\\/\\/\\` and interprets the URI as a relative path. ","status":"published","published":"2022-01-21T23:36:19Z","modified":"2023-11-08T04:07:28.545607Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-601"],"updated_at":"2026-11-02T15:46:42.437513Z"},{"id":"CLSA-2026-1774916733","title":"TuxCare security update for node-forge (4 CVEs)","description":"TuxCare rebuilt node-forge to address 4 CVEs. Fixed in 0.10.0-tuxcare.4.","status":"published","published":"2026-08-04T14:52:17Z","modified":"2026-10-23T13:58:16.950569859Z","updated_at":"2026-11-02T15:43:43.621843Z"},{"id":"CLSA-2026-1793814373","title":"TuxCare security update for node-forge (8 CVEs)","description":"TuxCare rebuilt node-forge to address 8 CVEs. Fixed in 0.9.0-tuxcare.1.","status":"published","published":"2026-11-04T18:46:13Z","modified":"2026-11-05T01:00:02.601090438Z","updated_at":"2026-11-05T01:12:05.565404Z"},{"id":"GHSA-5rrq-pxf6-6jx5","title":"Prototype Pollution in node-forge debug API.","description":"### Impact\nThe `forge.debug` API had a potential prototype pollution issue if called with untrusted input. The API was only used for internal debug purposes in a safe way and never documented or advertised.  It is suspected that uses of this API, if any exist, would likely not have used untrusted inputs in a vulnerable way.\n\n### Patches\nThe `forge.debug` API and related functions were removed in 1.0.0.\n\n### Workarounds\nDon't use the `forge.debug` API directly or indirectly with untrusted input.\n\n### References\n- https://www.huntr.dev/bounties/1-npm-node-forge/\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [forge](https://github.com/digitalbazaar/forge).\n* Email us at support@digitalbazaar.com.","status":"published","published":"2022-01-08T00:22:42Z","modified":"2022-01-07T22:20:53Z","cwes":["CWE-1321"],"updated_at":"2026-11-02T15:46:38.911014Z"},{"id":"GHSA-gf8q-jrpm-jvxq","title":"URL parsing in node-forge could lead to undesired behavior.","description":"### Impact\nThe regex used for the `forge.util.parseUrl` API would not properly parse certain inputs resulting in a parsed data structure that could lead to undesired behavior.\n\n### Patches\n`forge.util.parseUrl` and other very old related URL APIs were removed in 1.0.0 in favor of letting applications use the more modern WHATWG URL Standard API.\n\n### Workarounds\nEnsure code does not directly or indirectly call `forge.util.parseUrl` with untrusted input.\n\n### References\n- https://www.huntr.dev/bounties/41852c50-3c6d-4703-8c55-4db27164a4ae/\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [forge](https://github.com/digitalbazaar/forge)\n* Email us at support@digitalbazaar.com\n","status":"published","published":"2022-01-08T00:22:02Z","modified":"2022-01-07T22:20:43Z","cwes":["CWE-601"],"updated_at":"2026-11-02T15:46:47.822182Z"},{"id":"ROOT-APP-NPM-CVE-2022-0122","title":"CVE-2022-0122 in node-forge - Patched by Root","description":"Root has patched CVE-2022-0122 in the node-forge package for Root:npm. Multiple fixed versions available.","status":"published","published":"2026-10-12T11:59:17Z","modified":"2026-10-12T12:15:05.800549096Z","updated_at":"2026-11-02T15:53:27.362922Z"},{"id":"ROOT-APP-NPM-GHSA-5rrq-pxf6-6jx5","title":"GHSA-5rrq-pxf6-6jx5 in node-forge - Patched by Root","description":"Root has patched GHSA-5rrq-pxf6-6jx5 in the node-forge package for Root:npm. Multiple fixed versions available.","status":"published","published":"2026-08-27T11:32:45Z","modified":"2026-08-27T13:45:02.631179627Z","updated_at":"2026-11-02T15:53:27.940619Z"},{"id":"ROOT-APP-NPM-GHSA-gf8q-jrpm-jvxq","title":"GHSA-gf8q-jrpm-jvxq in node-forge - Patched by Root","description":"Root has patched GHSA-gf8q-jrpm-jvxq in the node-forge package for Root:npm. Multiple fixed versions available.","status":"published","published":"2026-08-27T11:32:45Z","modified":"2026-08-27T13:45:03.511739625Z","updated_at":"2026-11-02T15:53:27.940619Z"}]}}
