phin may include sensitive headers in subsequent requests after redirectGHSA-x565-32qp-m3vf
MEDIUMFix: ethanent/phin@c071f95GHSA-x565-32qp-m3vf is a medium-severity (CVSS 4.3) vulnerability in phin. A fix is available for phin — see the affected versions and patch details below.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, a proxy for how much of the ecosystem is exposed.
phinnpmDescription
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | phin | all versions | 3.7.1npm install phin@3.7.1 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for phin, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update phin to 3.7.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-x565-32qp-m3vf is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-x565-32qp-m3vf in your dependencies?
Find it across npm, including transitive dependencies.