Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 66%

CVE-2026-35213: CWE-1333: Inefficient Regular Expression Complexity in hapijs content

0
High
VulnerabilityCVE-2026-35213cvecve-2026-35213cwe-1333
Published: 04/06/2026 (04/06/2026, 20:08:54 UTC)
Source: CVE Database V5
Vendor/Project: hapijs
Product: content

Description

@hapi/content provided HTTP Content-* headers parsing. All versions of @hapi/content through 6.0.0 are vulnerable to Regular Expression Denial of Service (ReDoS) via crafted HTTP header values. Three regular expressions used to parse Content-Type and Content-Disposition headers contain patterns susceptible to catastrophic backtracking. This vulnerability is fixed in 6.0.1.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Affected software

@hapi/content
pkg:npm/@hapi/content
Affected versions
<6.0.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/24/2026, 15:09:00 UTC

Technical Analysis

The @hapi/content library, used for parsing HTTP Content-* headers, has three regular expressions that are susceptible to catastrophic backtracking, leading to a Regular Expression Denial of Service (ReDoS) vulnerability. This affects all versions before 6.0.1. An attacker can exploit this by sending specially crafted HTTP headers that cause excessive processing time, potentially leading to service disruption. The vulnerability is tracked as CVE-2026-35213 with a CVSS 4.0 score of 8.7 (high severity).

Potential Impact

Successful exploitation can cause denial of service by making the server spend excessive CPU time processing maliciously crafted HTTP Content-Type or Content-Disposition headers. This can degrade or interrupt service availability.

Mitigation Recommendations

Upgrade @hapi/content to version 6.0.1 or later, where the vulnerable regular expressions have been fixed. No other mitigation is indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-01T18:48:58.937Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69d417e60a160ebd92da7f81

Added to database: 04/06/2026, 20:30:30 UTC

Last enriched: 06/24/2026, 15:09:00 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 128

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses