Bug 2561804 - CVE-2026-112949 forgejo: Vitest: Cross-site scripting via unescaped mock module URL [epel-all]
Summary: CVE-2026-112949 forgejo: Vitest: Cross-site scripting via unescaped mock modu...
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: forgejo
Version: epel10
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Fedora Infrastructure SIG
QA Contact:
URL:
Whiteboard: {"flaws": ["d3507b0b-f464-4f71-ae8f-4...
Depends On:
Blocks: CVE-2026-112949
TreeView+ depends on / blocked
 
Reported: 2026-10-27 11:26 UTC by Vipul Nair
Modified: 2026-10-27 11:26 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vipul Nair 2026-10-27 11:26:29 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Vitest is a Vite-native testing framework for JavaScript and TypeScript projects. From 2.1.0-beta.7 until 4.1.12 and 5.0.3, an unauthenticated non-browser WebSocket client that can reach a development server using interceptorPlugin can register a manual mock whose attacker-controlled url createManualModuleSource inserts unescaped into generated module source. When the developer browser loads the affected module, attacker-controlled JavaScript executes on the development-server origin. This issue is fixed in versions 4.1.12 and 5.0.3.


Note You need to log in before you can comment on or make changes to this bug.