# CVE-2022-25873: Vuetify VCalendar cross-site scripting in eventName function

Source: https://junglewise.ai/threats/cve-2022-25873-vuetify-vcalendar-cross-site-scripting-in-eventname-function  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-09-19. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2022-25873 · Severity: low · CVSS 3.1 · Published 2022-09-19

Vuetify is a popular Vue.js UI component library used to build web applications. The VCalendar component fails to properly sanitize the eventName function, allowing attackers to inject malicious JavaScript code that executes in users' browsers. An attacker can craft a calendar event with XSS payload that, when viewed by users with a vulnerable version, steals session cookies or sensitive data, or performs unauthorized actions on their behalf.

Technologies: [vuetify (npm)](https://junglewise.ai/threats/technologies/vuetify). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven), [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2022-25873 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-25873 being exploited in the wild.

**How severe is CVE-2022-25873?** Low severity, with a CVSS score of 3.1, published 19 September 2022.

**Which products and versions are affected?** org.webjars.npm:vuetify (Maven) ECOSYSTEM:introduced=2.0.0-beta.4,fixed=2.6.10; vuetify (npm) SEMVER:introduced=2.0.0-beta.4,fixed=2.6.10.

**Is there a fix for CVE-2022-25873?** Yes. org.webjars.npm:vuetify (Maven): upgrade to 2.6.10 or later; vuetify (npm): upgrade to 2.6.10 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2022-25873 attacked?** It is attacked over the network.

**Am I affected by CVE-2022-25873?** Check whether you run org.webjars.npm:vuetify (Maven) or vuetify (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.webjars.npm:vuetify (Maven): upgrade to 2.6.10 or later

  ```sh
  # set org.webjars.npm:vuetify to 2.6.10 in your pom.xml or build.gradle
  ```

- vuetify (npm): upgrade to 2.6.10 or later

  ```sh
  npm install vuetify@2.6.10
  ```


## Technical details

The vulnerability is a Cross-Site Scripting (CWE-79) flaw in Vuetify versions 2.0.0-beta.4 through 2.6.9, located in the eventName function of the VCalendar component. The vulnerable code fails to properly sanitize or escape input before rendering it as HTML, allowing arbitrary JavaScript injection. An attacker can supply a malicious eventName value containing JavaScript code; when a user accesses a calendar view with the v-calendar component and the :event-name prop set to a custom function, the payload executes in the user's browser context with network-level attack vector and no authentication required. The vulnerability requires user interaction (viewing the calendar). A fix was released in version 2.6.10.

## Affected products

- Vuetify Vuetify 2.0.0-beta.4 to 2.6.9

## Identifiers

- CVE-2022-25873
- GHSA-q4q5-c5cv-2p68

## Timeline

- 2022-09-08: disclosed: Vulnerability reported via GitHub issue #15757
- 2022-09-19: advisory: Security advisory GHSA-q4q5-c5cv-2p68 published
- 2022-09-19: patched: Fix released in version 2.6.10

## References

- [https://github.com/vuetifyjs/vuetify/issues/15757](https://github.com/vuetifyjs/vuetify/issues/15757)

## Related threats

- [Vuetify prototype pollution in mergeDeep utility](https://junglewise.ai/threats/cve-2025-8083-vuetify-prototype-pollution-in-preset-configuration)
- [Vuetify VDatePicker cross-site scripting](https://junglewise.ai/threats/cve-2025-8082-vuetify-vdatepicker-cross-site-scripting)
