Skip to content

[GHSA-hq66-cqwq-w95j] Add ng2-pdfjs-viewer as an affected package - #11398

Open
codehippie1 wants to merge 1 commit into
github:codehippie1/advisory-improvement-11398from
codehippie1:codehippie1-GHSA-hq66-cqwq-w95j
Open

codehippie1 wants to merge 1 commit into
github:codehippie1/advisory-improvement-11398from
codehippie1:codehippie1-GHSA-hq66-cqwq-w95j

Conversation

@codehippie1

Copy link
Copy Markdown

I maintain ng2-pdfjs-viewer (npm). It ships Mozilla PDF.js as package assets instead of depending on pdfjs-dist, so scanners that read this advisory do not flag it.

Releases 26.0.0 to 26.4.4 of ng2-pdfjs-viewer bundle PDF.js 6.0.227, which is inside this advisory's range (pdfjs-dist >= 5.6.83, < 6.2.108). Release 26.5.0 bundles PDF.js 6.4.299 and is not affected. Releases 25.x bundle PDF.js 5.3.93 and are outside the range.

This change:

  • adds npm/ng2-pdfjs-viewer >= 26.0.0, < 26.5.0 (fixed in 26.5.0) to the affected packages
  • adds a reference to the repository advisory I published on 24 October 2026

Reference: GHSA-96xj-44g4-94fw

Copilot AI adaptive review requested due to automatic review settings November 18, 2026 05:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The advisory is missing a WEB reference to the v26.5.0 release documenting the bundled PDF.js upgrade that fixes the affected package.

1 open issue
What changed in this PR

Extends the PDF.js advisory to cover ng2-pdfjs-viewer, which bundles PDF.js assets directly rather than depending on pdfjs-dist, enabling scanners to identify affected releases.

Changes:

  • Adds npm package ng2-pdfjs-viewer with affected versions >= 26.0.0, < 26.5.0, fixed in 26.5.0.
  • Adds a reference to the maintainer’s package-specific security advisory.
File Description
advisories/​github-reviewed/​2026/​08/​GHSA-hq66-cqwq-w95j/​GHSA-hq66-cqwq-w95j.json Adds the bundled-PDF.js package’s affected range and advisory reference.

Review effort: Balanced (adaptive)

Comment on lines +66 to +69
{
"type": "WEB",
"url": "https://github.com/intbot/ng2-pdfjs-viewer/security/advisories/GHSA-96xj-44g4-94fw"
},
@github-actions
github-actions Bot changed the base branch from main to codehippie1/advisory-improvement-11398 November 18, 2026 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants