Browser script execution via inherited AST properties
Published Jul 23, 2024 · Updated Aug 30, 2024
Cross-site scripting in the Vue.js 2.0.0 through 2.7.16 template compiler allows remote attackers to execute JavaScript in browsers. The compiler reads inherited AST properties such as staticClass or staticStyle, stringifies their attacker-controlled values into render-function code, and evaluates it. Exploitation requires a polluted prototype and the full browser build's in-browser compiler; execution remains within the rendered application's browser context.
Summary
What happened
Cross-site scripting in the Vue.js 2.0.0 through 2.7.16 template compiler allows remote attackers to execute JavaScript in browsers. The compiler reads inherited AST properties such as staticClass or staticStyle, stringifies their attacker-controlled values into render-function code, and evaluates it. Exploitation requires a polluted prototype and the full browser build's in-browser compiler; execution remains within the rendered application's browser context.
The record
- CVE
- CVE-2024-6783
- Published
- Jul 23, 2024
- Updated
- Aug 30, 2024
- Vendor
- Vue.js
- Product
- Vue.js
- Classifications
- CWE-79, CAPEC-63, T1059.007
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 23, 2024CVE publishedPublication date reported by the CVE source.
- Aug 30, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.0.0 <=2.7.16
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- HeroDevs browser proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo