Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

`), it is possible to injec","url":"https://cyberstrike.io/cve/CVE-2023-49293/","datePublished":"2023-12-04T23:15:27.730","dateModified":"2026-06-17T06:35:47.193","publisher":{"@id":"https://cyberstrike.io/#organization"},"isPartOf":{"@id":"https://cyberstrike.io/#website"},"about":{"@type":"SoftwareSourceCode","name":"vitejs vite"},"keywords":["CVE-2023-49293","medium","CVSS 6.1","CWE-79","vitejs vite"]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://cyberstrike.io"},{"@type":"ListItem","position":2,"name":"CVE Database","item":"https://cyberstrike.io/cve/"},{"@type":"ListItem","position":3,"name":"2023","item":"https://cyberstrike.io/cve/year/2023/"},{"@type":"ListItem","position":4,"name":"CVE-2023-49293","item":"https://cyberstrike.io/cve/CVE-2023-49293/"}]},{"@type":"FAQPage","mainEntity":[{"@type":"Question","name":"What is CVE-2023-49293?","acceptedAnswer":{"@type":"Answer","text":"CVE-2023-49293 is a medium-severity vulnerability affecting vitejs vite. It was published on December 4, 2023 and has a CVSS 3.1 base score of 6.1 (MEDIUM)."}},{"@type":"Question","name":"How severe is CVE-2023-49293?","acceptedAnswer":{"@type":"Answer","text":"This vulnerability has a CVSS 3.1 base score of 6.1, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation."}},{"@type":"Question","name":"How do I fix or remediate CVE-2023-49293?","acceptedAnswer":{"@type":"Answer","text":"Check the references section for vendor advisories and patches from vitejs. Update vite to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions."}},{"@type":"Question","name":"How can CyberStrike help with CVE-2023-49293?","acceptedAnswer":{"@type":"Answer","text":"CyberStrike's AI-powered security agents can automatically detect CVE-2023-49293 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability."}}]}]}

CVE-2023-49293

6.1 · MEDIUM
Published Dec 4, 2023 vitejs CWE-79 EPSS 1.00% (60th pctl)

Overview

CVE-2023-49293 is a medium-severity vulnerability affecting vitejs vite. It was published on December 4, 2023 and has a CVSS 3.1 base score of 6.1 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 6.1, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

Vite is a website frontend framework. When Vite's HTML transformation is invoked manually via `server.transformIndexHtml`, the original request URL is passed in unmodified, and the `html` being transformed contains inline module scripts (`<script type="module">...</script>`), it is possible to inject arbitrary HTML into the transformed output by supplying a malicious URL query string to `server.transformIndexHtml`. Only apps using `appType: 'custom'` and using the default Vite HTML middleware are affected. The HTML entry must also contain an inline script. The attack requires a user to click on a malicious URL while running the dev server. Restricted files aren't exposed to the attacker. This issue has been addressed in [email protected], [email protected], and [email protected]. There are no known workarounds for this vulnerability.

Remediation

Check the references section for vendor advisories and patches from vitejs. Update vite to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
vitejs vite 4.4.0 Affected

Frequently Asked Questions

What is CVE-2023-49293?

CVE-2023-49293 is a medium-severity vulnerability affecting vitejs vite. It was published on December 4, 2023 and has a CVSS 3.1 base score of 6.1 (MEDIUM).

How severe is CVE-2023-49293?

This vulnerability has a CVSS 3.1 base score of 6.1, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2023-49293?

Check the references section for vendor advisories and patches from vitejs. Update vite to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-49293?

CyberStrike's AI-powered security agents can automatically detect CVE-2023-49293 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.