{"id":971799,"name":"@hapi/content","ecosystem":"npm","description":"HTTP Content-* headers parsing","homepage":"https://github.com/hapijs/content#readme","licenses":"BSD-3-Clause","normalized_licenses":["BSD-3-Clause"],"repository_url":"https://github.com/hapijs/content","keywords_array":["HTTP","header","content","content-type","content-disposition"],"namespace":"hapi","versions_count":7,"first_release_published_at":"2019-04-02T17:53:07.038Z","latest_release_published_at":"2026-04-02T08:05:22.199Z","latest_release_number":"6.0.1","last_synced_at":"2026-04-21T15:13:14.675Z","created_at":"2022-04-07T18:10:40.545Z","updated_at":"2026-04-22T04:11:06.202Z","registry_url":"https://www.npmjs.com/package/@hapi/content","install_command":"npm install @hapi/content","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"lts":"4.1.1","latest":"6.0.1"}},"repo_metadata":{"id":500387,"uuid":"103316506","full_name":"hapijs/content","owner":"hapijs","description":"HTTP Content-* headers parsing","archived":false,"fork":false,"pushed_at":"2024-01-06T09:49:09.000Z","size":66,"stargazers_count":8,"open_issues_count":1,"forks_count":12,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-04-14T00:47:21.202Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hapijs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-09-12T20:17:42.000Z","updated_at":"2022-04-13T06:02:33.000Z","dependencies_parsed_at":"2023-11-19T02:06:27.331Z","dependency_job_id":"267c99f6-4d29-4bc7-a0bc-a89a18e26131","html_url":"https://github.com/hapijs/content","commit_stats":{"total_commits":76,"total_committers":16,"mean_commits":4.75,"dds":0.5394736842105263,"last_synced_commit":"85ffdbd44c302074b8bbaa93f4700059f9e26500"},"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hapijs","download_url":"https://codeload.github.com/hapijs/content/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":217598004,"owners_count":16201817,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"},"owner_record":{"login":"hapijs","name":"hapi.js","uuid":"3774533","kind":"organization","description":"The Simple, Secure Framework Developers Trust","email":null,"website":"https://hapi.dev","location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/3774533?v=4","repositories_count":75,"last_synced_at":"2024-04-15T00:21:19.438Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/hapijs","funding_links":[],"total_stars":46244,"followers":116,"following":0,"created_at":"2022-11-02T16:20:46.028Z","updated_at":"2024-04-15T00:21:34.281Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hapijs","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hapijs/repositories"},"tags":[{"name":"v3.1.2","sha":"dfbb048373a93669262b6989927258440cac7546","kind":"tag","published_at":"2024-01-06T09:48:57.000Z","download_url":"https://codeload.github.com/hapijs/content/tar.gz/v3.1.2","html_url":"https://github.com/hapijs/content/releases/tag/v3.1.2","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v3.1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v3.1.2/manifests"},{"name":"v6.0.0","sha":"85ffdbd44c302074b8bbaa93f4700059f9e26500","kind":"tag","published_at":"2022-05-24T01:59:15.000Z","download_url":"https://codeload.github.com/hapijs/content/tar.gz/v6.0.0","html_url":"https://github.com/hapijs/content/releases/tag/v6.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v6.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v6.0.0/manifests"},{"name":"v4.1.1","sha":"5d6ad8e2226032db2e7b62b5f38a391ed0ab93e5","kind":"tag","published_at":"2020-02-13T08:20:40.000Z","download_url":"https://codeload.github.com/hapijs/content/tar.gz/v4.1.1","html_url":"https://github.com/hapijs/content/releases/tag/v4.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v4.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v4.1.1/manifests"},{"name":"v3.1.1","sha":"365ebfd428742196d492ec39c3f36521ecf9a35f","kind":"tag","published_at":"2020-02-13T08:15:38.000Z","download_url":"https://codeload.github.com/hapijs/content/tar.gz/v3.1.1","html_url":"https://github.com/hapijs/content/releases/tag/v3.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v3.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v3.1.1/manifests"},{"name":"v5.0.2","sha":"640839399fd2792db17652dbb785835059c03abe","kind":"tag","published_at":"2020-02-13T08:06:49.000Z","download_url":"https://codeload.github.com/hapijs/content/tar.gz/v5.0.2","html_url":"https://github.com/hapijs/content/releases/tag/v5.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v5.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v5.0.2/manifests"},{"name":"v5.0.1","sha":"98ce38514d12d3650384e75937c93266f0c82808","kind":"tag","published_at":"2020-02-13T07:22:23.000Z","download_url":"https://codeload.github.com/hapijs/content/tar.gz/v5.0.1","html_url":"https://github.com/hapijs/content/releases/tag/v5.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v5.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v5.0.1/manifests"},{"name":"v5.0.0","sha":"2f386a58140dd98084ca86c3106d6e90e4031cfe","kind":"tag","published_at":"2020-01-05T01:02:04.000Z","download_url":"https://codeload.github.com/hapijs/content/tar.gz/v5.0.0","html_url":"https://github.com/hapijs/content/releases/tag/v5.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v5.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v5.0.0/manifests"},{"name":"v4.1.0","sha":"c480cc4b9c31f287fbf232b36d70075c58d1989b","kind":"tag","published_at":"2019-04-02T17:52:43.000Z","download_url":"https://codeload.github.com/hapijs/content/tar.gz/v4.1.0","html_url":"https://github.com/hapijs/content/releases/tag/v4.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v4.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v4.1.0/manifests"},{"name":"v3.1.0","sha":"77aec3b8a612e01a60c4cfd629c267982e6155fa","kind":"tag","published_at":"2019-03-25T18:02:05.000Z","download_url":"https://codeload.github.com/hapijs/content/tar.gz/v3.1.0","html_url":"https://github.com/hapijs/content/releases/tag/v3.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v3.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v3.1.0/manifests"},{"name":"v4.0.6","sha":"2fec92ce429168f6886261fb7103c6e2c0d95773","kind":"tag","published_at":"2018-11-03T00:23:50.000Z","download_url":"https://codeload.github.com/hapijs/content/tar.gz/v4.0.6","html_url":"https://github.com/hapijs/content/releases/tag/v4.0.6","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v4.0.6","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v4.0.6/manifests"},{"name":"v4.0.5","sha":"94f6a07f4223a2c41f576efe25c10c878dcb9aff","kind":"tag","published_at":"2018-03-31T00:02:12.000Z","download_url":"https://codeload.github.com/hapijs/content/tar.gz/v4.0.5","html_url":"https://github.com/hapijs/content/releases/tag/v4.0.5","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v4.0.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v4.0.5/manifests"},{"name":"v3.0.7","sha":"dd3901f1732a24ea902452e0bc40f0ccb09ebf46","kind":"tag","published_at":"2018-03-01T09:05:46.000Z","download_url":"https://codeload.github.com/hapijs/content/tar.gz/v3.0.7","html_url":"https://github.com/hapijs/content/releases/tag/v3.0.7","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v3.0.7","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v3.0.7/manifests"},{"name":"v4.0.4","sha":"c9baa4c0d1d24d3bea6a59bfe28b913015973de7","kind":"tag","published_at":"2018-03-01T08:58:30.000Z","download_url":"https://codeload.github.com/hapijs/content/tar.gz/v4.0.4","html_url":"https://github.com/hapijs/content/releases/tag/v4.0.4","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v4.0.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v4.0.4/manifests"},{"name":"v4.0.3","sha":"2fafff7965dcb1e90f40203c5857297724ecb31c","kind":"tag","published_at":"2017-11-03T20:01:59.000Z","download_url":"https://codeload.github.com/hapijs/content/tar.gz/v4.0.3","html_url":"https://github.com/hapijs/content/releases/tag/v4.0.3","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v4.0.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v4.0.3/manifests"},{"name":"v4.0.2","sha":"80af6db05b5ef9dbecda720ef0dd0d7adb7dc175","kind":"tag","published_at":"2017-11-03T07:04:21.000Z","download_url":"https://codeload.github.com/hapijs/content/tar.gz/v4.0.2","html_url":"https://github.com/hapijs/content/releases/tag/v4.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v4.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v4.0.2/manifests"},{"name":"v4.0.1","sha":"c310d682f15f78f535c57e73ad715673fcf0af3c","kind":"tag","published_at":"2017-09-26T09:06:53.000Z","download_url":"https://codeload.github.com/hapijs/content/tar.gz/v4.0.1","html_url":"https://github.com/hapijs/content/releases/tag/v4.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v4.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v4.0.1/manifests"},{"name":"v4.0.0","sha":"c90b153e4b09098ea11d939025af42ac95950dd9","kind":"tag","published_at":"2017-09-26T00:11:31.000Z","download_url":"https://codeload.github.com/hapijs/content/tar.gz/v4.0.0","html_url":"https://github.com/hapijs/content/releases/tag/v4.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v4.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v4.0.0/manifests"},{"name":"v3.0.6","sha":"3a8a6cbaf111955ec514019c2122cb278cc36a23","kind":"tag","published_at":"2017-09-12T20:30:11.000Z","download_url":"https://codeload.github.com/hapijs/content/tar.gz/v3.0.6","html_url":"https://github.com/hapijs/content/releases/tag/v3.0.6","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v3.0.6","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v3.0.6/manifests"},{"name":"v3.0.5","sha":"e7f20cc6ff35b5c9787f3ebeebfe82a52f70a50d","kind":"tag","published_at":"2017-07-20T07:56:13.000Z","download_url":"https://codeload.github.com/hapijs/content/tar.gz/v3.0.5","html_url":"https://github.com/hapijs/content/releases/tag/v3.0.5","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v3.0.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v3.0.5/manifests"},{"name":"v3.0.4","sha":"de4e15315e0c3814245d1212264ccd15490c7239","kind":"tag","published_at":"2017-05-28T06:08:48.000Z","download_url":"https://codeload.github.com/hapijs/content/tar.gz/v3.0.4","html_url":"https://github.com/hapijs/content/releases/tag/v3.0.4","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v3.0.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v3.0.4/manifests"},{"name":"v3.0.3","sha":"7496a0fdafb356ff96a61d866cf56e37fed8bad0","kind":"tag","published_at":"2016-10-26T17:48:34.000Z","download_url":"https://codeload.github.com/hapijs/content/tar.gz/v3.0.3","html_url":"https://github.com/hapijs/content/releases/tag/v3.0.3","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v3.0.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v3.0.3/manifests"},{"name":"v3.0.2","sha":"56e53200ec0792391f377da6398c399285362fdf","kind":"tag","published_at":"2016-07-28T19:29:56.000Z","download_url":"https://codeload.github.com/hapijs/content/tar.gz/v3.0.2","html_url":"https://github.com/hapijs/content/releases/tag/v3.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v3.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v3.0.2/manifests"},{"name":"v3.0.1","sha":"cb5684aa14d47fbbcc396635c3697f1d7a50df5c","kind":"tag","published_at":"2016-05-07T12:36:02.000Z","download_url":"https://codeload.github.com/hapijs/content/tar.gz/v3.0.1","html_url":"https://github.com/hapijs/content/releases/tag/v3.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v3.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v3.0.1/manifests"},{"name":"v3.0.0","sha":"83be281b8d9e9392ca26768802a4b215ef622b97","kind":"tag","published_at":"2015-11-03T04:38:20.000Z","download_url":"https://codeload.github.com/hapijs/content/tar.gz/v3.0.0","html_url":"https://github.com/hapijs/content/releases/tag/v3.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v3.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v3.0.0/manifests"},{"name":"v2.0.0","sha":"e53f4b2ab59320ceb5abe923ad1b134359ecdd61","kind":"tag","published_at":"2015-10-22T20:21:01.000Z","download_url":"https://codeload.github.com/hapijs/content/tar.gz/v2.0.0","html_url":"https://github.com/hapijs/content/releases/tag/v2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v2.0.0/manifests"},{"name":"v1.0.1","sha":"080acaa4c716c0ec961a90abacc139d2bdd1773d","kind":"tag","published_at":"2014-10-02T21:31:58.000Z","download_url":"https://codeload.github.com/hapijs/content/tar.gz/v1.0.1","html_url":"https://github.com/hapijs/content/releases/tag/v1.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v1.0.1/manifests"},{"name":"v1.0.0","sha":"21980bb1a9a9e91ddda2ee44b327c33564442b1e","kind":"tag","published_at":"2014-10-02T18:03:17.000Z","download_url":"https://codeload.github.com/hapijs/content/tar.gz/v1.0.0","html_url":"https://github.com/hapijs/content/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2024-09-08T14:10:54.806Z","dependent_packages_count":13,"downloads":5453355,"downloads_period":"last-month","dependent_repos_count":17200,"rankings":{"downloads":0.16108065416003228,"dependent_repos_count":0.20388746558661214,"dependent_packages_count":1.670842085410151,"stargazers_count":10.064530418792806,"forks_count":5.9993287888855535,"docker_downloads_count":0.10430471254368867,"average":3.03399568756314},"purl":"pkg:npm/%40hapi/content","advisories":[{"uuid":"GSA_kwCzR0hTQS1qZzRwLTdmaHAtcDMycM4ABUuP","url":"https://github.com/advisories/GHSA-jg4p-7fhp-p32p","title":"@hapi/content: Regular Expression Denial of Service (ReDoS) in HTTP header parsing","description":"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.\n\n### Impact\n\nDenial of Service. An unauthenticated remote attacker can cause a Node.js process to become unresponsive by sending a single HTTP request with a maliciously crafted header value.\n\n### Patches\n\nFixed by tightening all three regular expressions to eliminate backtracking.\n\n### Workarounds\n\nThere are no known workarounds. Upgrade to the patched version.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2026-04-04T04:23:03.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":8.7,"cvss_vector":"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","references":["https://github.com/hapijs/content/security/advisories/GHSA-jg4p-7fhp-p32p","https://github.com/hapijs/content/pull/38","https://nvd.nist.gov/vuln/detail/CVE-2026-35213","https://github.com/advisories/GHSA-jg4p-7fhp-p32p"],"source_kind":"github","identifiers":["GHSA-jg4p-7fhp-p32p","CVE-2026-35213"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-04-04T05:00:11.966Z","updated_at":"2026-04-22T04:00:31.980Z","epss_percentage":0.00359,"epss_percentile":0.58118,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1qZzRwLTdmaHAtcDMycM4ABUuP","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS1qZzRwLTdmaHAtcDMycM4ABUuP","packages":[{"ecosystem":"npm","package_name":"@hapi/content","versions":[{"first_patched_version":"6.0.1","vulnerable_version_range":"\u003c= 6.0.0"}],"purl":"pkg:npm/%40hapi%2Fcontent"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1qZzRwLTdmaHAtcDMycM4ABUuP/related_packages","related_advisories":[]},{"uuid":"MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTN3cWgtaDQyci14OGZx","url":"https://github.com/advisories/GHSA-3wqh-h42r-x8fq","title":"Denial of Service in @hapi/content","description":"Versions of `@hapi/content` prior to 4.1.1 and 5.0.1 are vulnerable to Denial of Service. The Content-Encoding HTTP header parser has a vulnerability which will cause the function to throw a system error if the header contains some invalid values. Because hapi rethrows system errors (as opposed to catching expected application errors), the error is thrown all the way up the stack. If no unhandled exception handler is available, the application will exist, allowing an attacker to shut down services.\n\n\n## Recommendation\n\nUpgrade to version 5.0.2. Versions 4.1.1 and 5.0.1 are fixed but only available for direct download through the repository.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2020-09-03T15:46:22.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":0.0,"cvss_vector":null,"references":["https://www.npmjs.com/advisories/1476","https://github.com/advisories/GHSA-3wqh-h42r-x8fq"],"source_kind":"github","identifiers":["GHSA-3wqh-h42r-x8fq"],"repository_url":null,"blast_radius":0.0,"created_at":"2022-12-21T16:13:14.411Z","updated_at":"2026-04-05T20:02:12.404Z","epss_percentage":null,"epss_percentile":null,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTN3cWgtaDQyci14OGZx","html_url":"https://advisories.ecosyste.ms/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTN3cWgtaDQyci14OGZx","packages":[{"ecosystem":"npm","package_name":"@hapi/content","versions":[{"first_patched_version":"5.0.2","vulnerable_version_range":"\u003c 5.0.2"}],"purl":"pkg:npm/%40hapi%2Fcontent"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTN3cWgtaDQyci14OGZx/related_packages","related_advisories":[]}],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@hapi/content","docker_dependents_count":289,"docker_downloads_count":431738681,"usage_url":"https://repos.ecosyste.ms/usage/npm/@hapi/content","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@hapi/content/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2024-09-08T07:34:39.669Z","issues_count":19,"pull_requests_count":18,"avg_time_to_close_issue":389638.8333333333,"avg_time_to_close_pull_request":342954.27777777775,"issues_closed_count":18,"pull_requests_closed_count":18,"pull_request_authors_count":11,"issue_authors_count":6,"avg_comments_per_issue":1.0526315789473684,"avg_comments_per_pull_request":0.4444444444444444,"merged_pull_requests_count":16,"bot_issues_count":1,"bot_pull_requests_count":1,"past_year_issues_count":0,"past_year_pull_requests_count":1,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":256316.0,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":1,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":0.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":1,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fcontent/issues","maintainers":[{"login":"Nargonath","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/Nargonath"},{"login":"devinivy","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/devinivy"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@hapi%2Fcontent/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@hapi%2Fcontent/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@hapi%2Fcontent/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@hapi%2Fcontent/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@hapi%2Fcontent/codemeta","maintainers":[{"uuid":"nlf","login":"nlf","name":null,"email":"quitlahok@gmail.com","url":null,"packages_count":313,"html_url":"https://www.npmjs.com/~nlf","role":null,"created_at":"2022-11-20T16:44:18.842Z","updated_at":"2022-11-20T16:44:18.842Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/nlf/packages"},{"uuid":"marsup","login":"marsup","name":null,"email":"nicolas@morel.io","url":null,"packages_count":172,"html_url":"https://www.npmjs.com/~marsup","role":null,"created_at":"2022-11-20T16:44:18.837Z","updated_at":"2022-11-20T16:44:18.837Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/marsup/packages"},{"uuid":"devinivy","login":"devinivy","name":null,"email":"devinivy@gmail.com","url":null,"packages_count":323,"html_url":"https://www.npmjs.com/~devinivy","role":null,"created_at":"2022-11-20T16:44:18.852Z","updated_at":"2022-11-20T16:44:18.852Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/devinivy/packages"},{"uuid":"wyatt","login":"wyatt","name":null,"email":"wpreul@gmail.com","url":null,"packages_count":187,"html_url":"https://www.npmjs.com/~wyatt","role":null,"created_at":"2022-11-20T16:44:18.893Z","updated_at":"2022-11-20T16:44:18.893Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/wyatt/packages"},{"uuid":"lloydbenson","login":"lloydbenson","name":null,"email":"lloyd.benson@gmail.com","url":null,"packages_count":111,"html_url":"https://www.npmjs.com/~lloydbenson","role":null,"created_at":"2022-11-20T16:44:18.935Z","updated_at":"2022-11-20T16:44:18.935Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/lloydbenson/packages"},{"uuid":"cjihrig","login":"cjihrig","name":null,"email":"cjihrig@gmail.com","url":null,"packages_count":174,"html_url":"https://www.npmjs.com/~cjihrig","role":null,"created_at":"2023-01-15T17:34:50.368Z","updated_at":"2023-01-15T17:34:50.368Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/cjihrig/packages"}]}