GHSA-g3ch-rx76-35fx

    Dashboard / Vulnerabilities / GHSA-g3ch-rx76-35fx

    GHSA-g3ch-rx76-35fx

    Published: 23 Jul 2024Last Modified: 3 Feb 2026
    Aliases:

    Summary: vue-template-compiler vulnerable to client-side Cross-Site Scripting (XSS)

    Details: A vulnerability has been discovered in vue-template-compiler, that allows an attacker to perform XSS via prototype pollution. The attacker could change the prototype chain of some properties such as `Object.prototype.staticClass` or `Object.prototype.staticStyle` to execute arbitrary JavaScript code. Vue 2 has reached End-of-Life. This vulnerability has been patched in Vue 3.

    Affected packages

    Package

    Name: vue-template-compiler

    Purl: pkg:npm/vue-template-compiler

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 2.0.0
    Fixed -None

    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-g3ch-rx76-35fx | CVE-DB