GitHub Advisoryadvisory · npm
GHSA-x565-32qp-m3vf phin may include sensitive headers in subsequent requests after redirect
MEDIUM
Official page ↗
- Ecosystem
- npm
- Packages
- phin
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
- Weaknesses
- CWE-200
- Reviewed
- 2024-04-11
Affected packages
• npm phin: < 3.7.1 → fixed in 3.7.1
Description
Impact
Users may be impacted if sending requests including sensitive data in specific headers with `followRedirects` enabled.
Patches
The follow-redirects library is now being used for redirects and removes some headers that may contain sensitive information in some situations.
Workarounds
N/A. Please update to resolve the issue.
Related
Weakness · CWE (1)
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness