Vulnerability library
Security checkOctober 30, 2026

@hapi/content: quadratic-time parsing of Content-Disposition parameters allows denial of service

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmcontent

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Content.disposition() takes quadratic time when a Content-Disposition parameter contains a long token without =. One unauthenticated multipart request can block the Node.js event loop for several minutes.

Recommendation

No fix is available yet. Followings are affected versions:

  • >= 3.0.6, <= 4.0.6

References

Could your website be exposed too?

SmartScanner can check your website for @hapi/content: quadratic-time parsing of Content-Disposition parameters allows denial of service and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated October 30, 2026