Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/%40hapi/subtext@7.0.1
purl pkg:npm/%40hapi/subtext@7.0.1
Next non-vulnerable version 7.0.3
Latest non-vulnerable version 7.0.3
Risk 4.0
Vulnerabilities affecting this package (2)
Vulnerability Summary Fixed by
VCID-bjau-z6y8-2qbh
Aliases:
GHSA-g9cg-h3jm-cwrc
GMS-2020-31
Prototype Pollution in @hapi/subtext Versions of `@hapi/pez` prior to 4.1.2 or 5.0.1 are vulnerable to Prototype Pollution. A multipart payload can be constructed in a way that one of the parts’ content can be set as the entire payload object’s prototype. If this prototype contains data, it may bypass other validation rules which enforce access and privacy. If this prototype evaluates to null, it can cause unhandled exceptions when the request payload is accessed.
7.0.3
Affected by 0 other vulnerabilities.
VCID-ytka-8p91-9yet
Aliases:
GHSA-3wqh-h42r-x8fq
GMS-2020-29
Denial of Service in @hapi/content 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.
7.0.3
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-04T20:37:35.329121+00:00 GitLab Importer Affected by VCID-bjau-z6y8-2qbh https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/@hapi/subtext/GMS-2020-31.yml 38.6.0
2026-06-04T20:37:09.975062+00:00 GitLab Importer Affected by VCID-ytka-8p91-9yet https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/@hapi/subtext/GHSA-3wqh-h42r-x8fq.yml 38.6.0