Advisory

GHSA-g3ch-rx76-35fx

Also known as: CVE-2024-6783

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-07-23 15:31 UTC
Modified
2026-02-03 03:15 UTC

Affected packages and fixes

vue-template-compiler

npm · All systems

Affected

  • introduced 2.0.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences