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
# 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
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