Intel

AIKIDO-2025-10483

@inertiajs/vue3 is vulnerable to Cross-site Scripting (XSS)

Cross-site Scripting (XSS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jul 22, 2025

45

Medium Risk

This Affects:

JS@inertiajs/vue3
1.0.0 - 2.0.14
Fixed in 2.0.15
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to Cross-Site Scripting (XSS) where server-side rendering fails to escape double quotes within attribute values, resulting in invalid HTML that disrupts the page structure. An attacker could exploit this by injecting double quotes into controlled attribute values to break out of the attribute context and append malicious attributes or event handlers, potentially enabling XSS attacks when browsers parse the corrupted HTML. This could compromise user sessions, steal sensitive data, or perform unauthorized actions in the victim's security context.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@inertiajs/vue3 is vulnerable to Cross-site Scripting (XSS) in versions 1.0.0 - 2.0.14.

How to fix this

Upgrade the @inertiajs/vue3 library to the patch version.