GHSA-7jg2-jgv3-fmr4

    Dashboard / Vulnerabilities / GHSA-7jg2-jgv3-fmr4

    GHSA-7jg2-jgv3-fmr4

    Published: 14 May 2022Last Modified: 28 May 2024
    Aliases:

    Summary: Malicious PDF can inject JavaScript into PDF Viewer

    Details: The PDF viewer does not sufficiently sanitize PostScript calculator functions, allowing malicious JavaScript to be injected through a crafted PDF file. This JavaScript can then be run with the permissions of the PDF viewer by its worker. This vulnerability affects Firefox ESR < 52.8, Firefox < 60 and PDF.js < 2.0.550.

    Affected packages

    Package

    Name: pdfjs-dist

    Purl: pkg:npm/pdfjs-dist

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 2.0.0
    Fixed -2.0.550

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-7jg2-jgv3-fmr4 | CVE-DB