Read the docs
TI-2020-19902 Aliases GHSA-5p98-wpc9-g498

Server-Side Request Forgery in html-pdf-chrome

Priority LOW 38CWE-918Published · Updated

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

Fix Fixed html-pdf-chrome (npm): 0.6.1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—html-pdf-chrome (npm)before 0.6.10.6.1Patch availableGHSA-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

  1. 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