Server-Side Request Forgery in html-pdf-chrome
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub.
Summary
## Recommendation This package is working as intended. A [Security](https://github.com/westy92/html-pdf-chrome#security) section has been added since v0.6.1 to detail proper usage of this library. Npm has revoked their advisory altogether. ## Original Advisory All versions of `html-pdf-chrome` are vulnerable to Server-Side Request Forgery (SSRF). The package executes HTTP requests if the parsed HTML contains external references to resources, such as `<iframe src="http://localhost" height="800px" width="800px"></iframe>`. This allows attackers to access resources through HTTP that are accessible to the server, including private resources in the hosting environment.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | html-pdf-chrome (npm) | before 0.6.1 | 0.6.1 | Patch available | GHSA-5p98-wpc9-g498 |
- html-pdf-chrome (npm) Vendor— Affected before 0.6.1 Fixed in 0.6.1 Patch available GHSA-5p98-wpc9-g498
Remediation
- Fix · GHSA-5p98-wpc9-g498 html-pdf-chrome (npm) Fixed in 0.6.1 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-5p98-wpc9-g498
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences