Vuetify VDatePicker Component Cross-Site Scripting Vulnerability

Vulnerability

A Cross-Site Scripting (XSS) vulnerability has been identified in the Vuetify library, specifically within the VDatePicker component. This issue affects Vuetify versions 2.0.0 through 3.0.0. The vulnerability arises from the title-date-format property, which allows users to pass a function that can inject unsanitized HTML into the page. The injected HTML is then executed as JavaScript, creating an XSS risk.

Impact

Exploitation of this vulnerability allows for Cross-Site Scripting attacks, where an attacker can inject malicious scripts that are executed in the context of the user's browser.

Reproduction

To reproduce this vulnerability, create a Vue.js application using Vuetify 2.x. Add a VDatePicker component and set the title-date-format prop with a function that returns malicious HTML, such as an image tag with an onerror event. When the component is rendered, the injected script will execute, demonstrating the XSS vulnerability.

Remediation

Vuetify v2 is End-of-Life and will not receive updates. Users should migrate to Vuetify v3 or seek support from a commercial partner like HeroDevs.

Added: Dec 12, 2025, 7:17 PM
Updated: Dec 12, 2025, 7:17 PM

Vulnerability Rating

Custom Algorithm
spread
4.2
impact
1.7
exploitability
5.8
remediation
7.7
relevance
1.4
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.