Intel

AIKIDO-2026-283182

@vue/server-renderer is vulnerable to Cross-Site Scripting (XSS)

Cross-Site Scripting (XSS)GHSA-g2v6-rqmx-r4w6 Published Yesterday

72

High Risk

This Affects:

JS@vue/server-renderer
0.0.1 - 3.5.41
Fixed in 3.5.42
Are you affected? Scan for Free

TL;DR

During server-side rendering, Vue validates dynamic HTML attribute names with a helper whose unsafe-character set omits the carriage return. When an application binds an object with untrusted property names to an element via v-bind, a key containing a carriage return is written into the rendered markup. Browsers convert the carriage return into a line feed, which splits the single attribute name into several attributes and lets injected event-handler attributes run script on page load. The fix adds the carriage return to the set of characters rejected in attribute names.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you use server-side rendering and bind objects with untrusted property names to HTML elements via v-bind.

Background info

@vue/server-renderer is vulnerable to Cross-Site Scripting (XSS) in versions 0.0.1 - 3.5.41.

How to fix this

Upgrade the @vue/server-renderer library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform