VDB
KO
MEDIUM 6.3

GHSA-9w3x-85mw-4fwm

Vuetify has a Cross-site Scripting (XSS) vulnerability in the VDatePicker component

Details

Improper neutralization of the title date in the 'VDatePicker' component in Vuetify, allows unsanitized HTML to be inserted into the page. This can lead to a Cross-Site Scripting (XSS) https://owasp.org/www-community/attacks/xss  attack. The vulnerability occurs because the 'title-date-format' property of the 'VDatePicker' can accept a user created function and assign its output to the 'innerHTML' property of the title element without sanitization.

This issue affects Vuetify versions greater than or equal to 2.0.0 and less than 3.0.0.

Note: Version 2.x of Vuetify is End-of-Life and will not receive any updates to address this issue. For more information see here https://v2.vuetifyjs.com/en/about/eol/ .

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / vuetify
Introduced in: 2.0.0 Fixed in: 3.0.0
Fix npm install vuetify@3.0.0

References