Hapi versions less than 11.0.0 implement CORS incorrectly and allowed for configurations that at best returned inconsistent headers and at worst allowed cross-origin activities that were expected to be forbidden
Published May 31, 2018
5.3
MEDIUMCVSS 3.0
EPSS 1.54%
Description
Hapi versions less than 11.0.0 implement CORS incorrectly and allowed for configurations that at best returned inconsistent headers and at worst allowed cross-origin activities that were expected to be forbidden. If the connection has CORS enabled but one route has it off, and the route is not GET, the OPTIONS prefetch request will return the default CORS headers and then the actual request will go through and return no CORS headers. This defeats the purpose of turning CORS on the route.
Affected products
-
- Version <11.0.0StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| HackerOne | Hapi Node Module | n/a |
|
No data.
No Red Hat product state for this CVE.
hapi
npm
Introduced 0 Fixed 11.0.0
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | hapi | 0 | 11.0.0 |
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
AV:N/AC:L/Au:N/C:P/I:N/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.54% (0.01540) | 74.00th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.54% (0.01540) | 71.57th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.26% (0.00258) | 47.22th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.11% (0.00112) | 46.26th | v3 (v2023.03.01) |
| Jul 8, 2023 | 0.11% (0.00111) | 43.40th | v3 (v2023.03.01) |
| May 25, 2023 | 0.20% (0.00204) | 57.00th | v3 (v2023.03.01) |
| May 8, 2023 | 0.19% (0.00195) | 55.78th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.11% (0.00106) | 41.62th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.95% (0.00954) | 36.37th | v2 (v2022.01.01) |
| Sep 2, 2022 | 0.95% (0.00954) | 34.50th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.95% (0.00954) | 32.50th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.95% (0.00954) | 16.28th | v2 (v2022.01.01) |
References (6)
- https://github.com/advisories/GHSA-vwrf-r5r4-7775 Advisory
- https://github.com/hapijs/hapi/issues/2840 x_refsource_MISCPatchThird Party Advisory
- https://github.com/hapijs/hapi/issues/2850 x_refsource_MISCRelease NotesThird Party Advisory
- https://nodesecurity.io/advisories/45 x_refsource_MISCThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2015-9236
- https://www.npmjs.com/advisories/45
| Link | Providers | Tags |
|---|---|---|
| https://github.com/advisories/GHSA-vwrf-r5r4-7775 | Advisory | |
| https://github.com/hapijs/hapi/issues/2840 | x_refsource_MISCPatchThird Party Advisory | |
| https://github.com/hapijs/hapi/issues/2850 | x_refsource_MISCRelease NotesThird Party Advisory | |
| https://nodesecurity.io/advisories/45 | x_refsource_MISCThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2015-9236 | ||
| https://www.npmjs.com/advisories/45 |
Change history (0)
No recorded changes yet.