CVE-2022-25873: Vuetify Cross-site Scripting Vulnerability

vuetify Updated 02 Oct 2025

Summary

19/09/2022
Yes i
Moderate
5.4

CVE-2022-25873: Vuetify Cross-site Scripting vulnerability. Affects vuetify versions >= 2.0.0-beta.4, < 2.6.10. Fixed in 2.6.10. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Vuetify is an open-source component framework for Vue.js that allows developers to build responsive and attractive user interfaces. It provides a wide range of pre-designed components and themes, making it easier to create visually appealing web applications. However, versions 2.0.0-beta.4 and earlier than 2.6.10 of Vuetify are vulnerable to a Cross-site Scripting (XSS) attack. This vulnerability stems from improper input sanitization in the 'eventName' function within the VCalendar component.

Vulnerability Detail

The Cross-site Scripting (XSS) vulnerability in Vuetify allows an attacker to inject malicious scripts into web pages viewed by users. By exploiting this vulnerability, an attacker can execute arbitrary code in the context of the victim's browser, potentially leading to various security risks. This vulnerability has a CVSS score of 5.4, indicating a moderate severity level.

How To Fix

Latest published version: 4.3.0 as of 23 Oct 2026

npm install vuetify@4.3.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.6.10

This is the first release that contains the fix.

npm install vuetify@2.6.10

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, developers can manually sanitize user input before passing it to the 'eventName' function within the VCalendar component. This can be achieved by using appropriate input validation and sanitization techniques, such as encoding special characters and filtering out potentially harmful content. Here's an example of how to sanitize user input in JavaScript:

function sanitizeInput(input) {
  // Perform input sanitization here
  return sanitizedInput;
}

// Usage
const sanitizedInput = sanitizeInput(userInput);
// Pass sanitizedInput to the 'eventName' function

Conclusion

In conclusion, the Vuetify package versions 2.0.0-beta.4 and earlier than 2.6.10 are vulnerable to a Cross-site Scripting (XSS) attack. It is crucial for developers to upgrade to the latest secure version of Vuetify (2.6.10 or later) to mitigate the risk of XSS attacks. Additionally, implementing proper input validation and sanitization techniques can provide a temporary workaround until the upgrade is applied. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for vuetify →

Share this vulnerability

FAQ

Vuetify is an open-source component framework for Vue.js that helps developers build visually appealing and responsive user interfaces.

Cross-site Scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by users. This can lead to various security risks, such as stealing sensitive information or performing unauthorized actions on behalf of the user.

The vulnerability in Vuetify allows an attacker to execute arbitrary code in the victim's browser, potentially leading to various security risks. This can include stealing sensitive information, performing unauthorized actions, or manipulating the content of the web page.

To fix this vulnerability, it is recommended to upgrade Vuetify to version 2.6.10 or later. This version includes proper input sanitization to prevent the execution of malicious scripts.

As a temporary workaround, developers can manually sanitize user input before passing it to the vulnerable function. This involves implementing input validation and sanitization techniques to filter out potentially harmful content.

Related vulnerabilities

Recent vulnerabilities recorded for vuetify.

How To Fix

Latest published version: 4.3.0 as of 23 Oct 2026

npm install vuetify@4.3.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.6.10

This is the first release that contains the fix.

npm install vuetify@2.6.10

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback