CVE-2015-9236

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.

Categories

5.3
CVSS
Severity: Medium
CVSS 3.0 •
CVSS 2.0 •
EPSS 0.25%
Third-Party Advisory github.com Third-Party Advisory github.com Third-Party Advisory nodesecurity.io
Affected: HackerOne hapi node module
Published at:
Updated at:

References

Link Tags
https://github.com/hapijs/hapi/issues/2850 third party advisory release notes
https://github.com/hapijs/hapi/issues/2840 third party advisory patch
https://nodesecurity.io/advisories/45 third party advisory

Frequently Asked Questions

What is the severity of CVE-2015-9236?
CVE-2015-9236 has been scored as a medium severity vulnerability.
How to fix CVE-2015-9236?
To fix CVE-2015-9236, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2015-9236 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2015-9236 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2015-9236?
CVE-2015-9236 affects HackerOne hapi node module.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.