Description
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 `*`).
Remediation
References
https://github.com/hapijs/hapi/issues/2980
https://nodesecurity.io/advisories/65
Related Vulnerabilities
CVE-2021-43308 Vulnerability in npm package markdown-link-extractor
CVE-2019-16728 Vulnerability in maven package org.webjars.bowergithub.cure53:dompurify
CVE-2023-29522 Vulnerability in maven package org.xwiki.platform:xwiki-platform-xclass-ui
CVE-2022-36364 Vulnerability in maven package org.apache.calcite.avatica:avatica-core
CVE-2013-2251 Vulnerability in maven package org.apache.struts:struts2-core