Vulnerabilities

2 via 2 paths

Dependencies

222

Source

GitHub

Find, fix and prevent vulnerabilities in your code.

Severity
  • 2
Status
  • 2
  • 0
  • 0

medium severity

External Control of File Name or Path

  • Vulnerable module: pdfmake
  • Introduced through: pdfmake@0.3.11

Detailed paths

  • Introduced through: rtl@Ride-The-Lightning/RTL › pdfmake@0.3.11
    Remediation: Upgrade to pdfmake@0.3.12.

Overview

pdfmake is a Client/server side PDF printing in pure JavaScript

Affected versions of this package are vulnerable to External Control of File Name or Path via the SVG rendering path in src/Renderer.js, where local images embedded within SVG content bypass the setLocalAccessPolicy restriction. An attacker who can supply SVG content containing embedded local image references can read local files that the policy is intended to prohibit.

Remediation

Upgrade pdfmake to version 0.3.12 or higher.

References

medium severity
new

Use of Cache Containing Sensitive Information

  • Vulnerable module: pdfmake
  • Introduced through: pdfmake@0.3.11

Detailed paths

  • Introduced through: rtl@Ride-The-Lightning/RTL › pdfmake@0.3.11
    Remediation: Upgrade to pdfmake@0.3.14.

Overview

pdfmake is a Client/server side PDF printing in pure JavaScript

Affected versions of this package are vulnerable to Use of Cache Containing Sensitive Information via the process-wide virtual file system in URLResolver.js, which caches remote resources keyed only by URL without considering request headers or per-document access enforcement. An attacker can retrieve resources that were fetched with another caller's credentials, or access URLs that a later document's access policy would deny, resulting in cross-document information disclosure and URL access policy bypass. The fix makes cross-document URL resource caching opt-in and adds per-request cache controls.

Remediation

Upgrade pdfmake to version 0.3.14 or higher.

References