IntelligenceAdvisoriesAdvisory
GHSA-gf8q-jrpm-jvxq
URL parsing in node-forge could lead to undesired behavior.
In short
What to know.
- Package
- node-forge npmbefore 1.0.0
- What to do
- Upgrade node-forge to 1.0.0 or later.
- Source's rating
- LowNoumen has not assessed it.
- Noumen finding
- No linked finding yet.
3 December 2026
Source
- OSV record GHSA-gf8q-jrpm-jvxqosv.devRetrieved 3 December 2026
Full record
- Identifier
- GHSA-gf8q-jrpm-jvxq
- Aliases
- None listed
- Severity
- Low, as rated by the source. Noumen has not assessed it.
- Fixed versions
- 1.0.0
- Published
- 8 January 2022
- Modified
- 7 January 2022
- Source
- OSV record GHSA-gf8q-jrpm-jvxq, retrieved 3 December 2026, 00:00 UTC
Affected packages and ranges
| Package | Affected versions | Fixed in |
|---|---|---|
| node-forge npm | before 1.0.0 | 1.0.0 |
Affected means inside a published range, not that the code path is reachable in your project.
Details, as published by the source
### Impact
The 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.
### Patches
`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.
### Workarounds
Ensure code does not directly or indirectly call `forge.util.parseUrl` with untrusted input.
### References
- https://www.huntr.dev/bounties/41852c50-3c6d-4703-8c55-4db27164a4ae/
### For more information
If you have any questions or comments about this advisory:
* Open an issue in [forge](https://github.com/digitalbazaar/forge)
* Email us at support@digitalbazaar.com
