CVE-2018-3728: Hapijs Hoek

High severity, CVSS 8.8. EPSS: 4.2% chance of exploitation in the next 30 days.

hoek node module before 4.2.0 and 5.0.x before 5.0.3 suffers from a Modification of Assumed-Immutable Data (MAID) vulnerability via 'merge' and 'applyToDefaults' functions, which allows a malicious user to modify the prototype of "Object" via __proto__, causing the addition or modification of an existing property that will exist on all objects.

Affected products

  • Hapijs Hoek: before 4.2.0 (fixed in 4.2.0); from 5.0.0, before 5.0.3 (fixed in 5.0.3)

Published 2018-03-30. Last modified 2026-06-17.