Vulnerabilities · 2018 · Nodejs
CVE-2018-12123
Nodejs Node.js vulnerability
Node.js: All versions prior to Node.js 6.15.0, 8.14.0, 10.14.0 and 11.3.0: Hostname spoofing in URL parser for javascript protocol: If a Node.js application is using url.parse() to determine the URL hostname, that hostname can be spoofed by using a mixed case "javascript:" (e.g. "javAscript:") protocol (other protocols are not affected). If security decisions are made about the URL based on the hostname, they may be incorrect.
Affected products
Node.js. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nodejs Node.js runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- nodejs.org/en/blog/vulnerability/november-2018-security-releases/ · Patch
- access.redhat.com/errata/RHSA-2019:1821 · Third Party Advisory
- security.gentoo.org/glsa/202003-48 · Third Party Advisory
- security.netapp.com/advisory/ntap-20241213-0008/
- nvd.nist.gov/vuln/detail/CVE-2018-12123
- cve.org/CVERecord?id=CVE-2018-12123
More vulnerabilities in Nodejs products
CVE-2026-22036CVE-2026-21637CVE-2026-21636CVE-2025-59466CVE-2025-59465CVE-2025-59464CVE-2025-55132CVE-2025-55130All 154
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.