GHSA-2j2j-8rrv-264g

    Dashboard / Vulnerabilities / GHSA-2j2j-8rrv-264g

    GHSA-2j2j-8rrv-264g

    Published: 11 Sept 2018Last Modified: 8 Nov 2023

    Summary: Cross-Site Scripting in exceljs

    Details: Versions of `exceljs` before 1.6.0 are vulnerable to cross-site scripting. This vulnerability is due to `exceljs` not validating data from parsed XLSX file and embedding HTML tags, like `<script>` directly into the sheet cells. Because of this it's possible to inject malicious JavaScript code and execute it when data from the sheet is displayed in the browser. ## Recommendation Update to version 1.6.0 or later.

    Affected packages

    Package

    Name: exceljs

    Purl: pkg:npm/exceljs

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -1.6.0

    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