Live threats

All CVEs / Hapijs

CVE-2015-9243Hapijs Hapi

Medium 5.9 No auth needed

Priority
51
CVSS 3.0
5.9
EPSS
1.0%
probability of exploitation in 30 days · percentile 62
Auth required
No
Published
May 29, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-284, CWE-254
Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

When server level, connection level or route level CORS configurations in hapi node module before 11.1.4 are combined and when a higher level config included security restrictions (like origin), a higher level config that included security restrictions (like origin) would have those restrictions overridden by less restrictive defaults (e.g. origin defaults to all origins `*`).

Original NVD text.

What to do

  1. Apply the vendor's security update for Hapi.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm hapi < 11.1.4 11.1.4 npm install hapi@11.1.4

Per OSV / GitHub Advisories (GHSA-j3g2-m5jj-6336). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
hapijshapi< 11.1.4

Official sources

References

Links published by the sources. Open them with care.