Vulnerability DatabaseGHSA-5p98-wpc9-g498

GHSA-5p98-wpc9-g498
JavaScript vulnerability analysis and mitigation

Overview

The html-pdf-chrome package was identified with a Server-Side Request Forgery (SSRF) vulnerability, tracked as GHSA-5p98-wpc9-g498. The vulnerability was discovered in versions prior to 0.6.1 and was published to the GitHub Advisory Database on September 4, 2020. The issue affects the npm package html-pdf-chrome, which is used for HTML to PDF conversion (GitHub Advisory).

Technical details

The vulnerability stems from the package's behavior of executing HTTP requests when the parsed HTML contains external references to resources. This functionality could be exploited through Server-Side Request Forgery (SSRF) attacks, which is classified under CWE-918. The vulnerability was assigned a High severity rating (GitHub Advisory).

Impact

When exploited, this vulnerability allows attackers to access resources through HTTP that are accessible to the server, including private resources in the hosting environment. This is particularly concerning when users can input custom HTML for conversion to PDF (GitHub Issue).

Exploitability

The vulnerability is exploitable when users have the ability to input custom HTML content that is then processed by the html-pdf-chrome package for PDF conversion. The issue was initially reported on November 20, 2019 (GitHub Issue).

Mitigation and workarounds

The vulnerability has been addressed in version 0.6.1 of the package. A Security section has been added since this version to detail proper usage of the library. It's worth noting that npm has subsequently revoked their advisory, as the package is now working as intended (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-48170CRITICAL9.1
  • JavaScript logoJavaScript
  • scim-patch
NoYesAug 07, 2026
CVE-2026-48007HIGH8.6
  • JavaScript logoJavaScript
  • @element-hq/element-call-embedded
NoYesAug 07, 2026
CVE-2026-69207MEDIUM5.3
  • JavaScript logoJavaScript
  • gemini-cli
NoYesAug 07, 2026
CVE-2026-71850MEDIUM4.8
  • JavaScript logoJavaScript
  • langfuse-fips-4
NoYesAug 07, 2026
CVE-2026-71849LOW3.7
  • JavaScript logoJavaScript
  • hono
NoYesAug 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management