Security mailing lists by PureSourceCode

GHSA-5p98-wpc9-g498

HIGH

Server-Side Request Forgery in html-pdf-chrome

Recommendation

This package is working as intended. A 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.

Published
4 Sep 2020
Last modified
22 Jun 2022
Weakness
CWE-918
Sources
OSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm html-pdf-chrome < 0.6.1 0.6.1

References

History

  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 4 Sep 2020)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.