CVE-2026-25802 New API has Potential XSS in its MarkdownRenderer component
An attacker can execute arbitrary scripts in the browser via unsafe Markdown rendering in the New API LLM gateway.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-25802?
CVE-2026-25802 is a high-severity cross-site scripting vulnerability in QuantumNous new-api, published on 24 Feb 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
New API is a large language mode (LLM) gateway and artificial intelligence (AI) asset management system. Prior to version 0.10.8-alpha.9, a potential unsafe operation occurs in component `MarkdownRenderer.jsx`, allowing for Cross-Site Scripting(XSS) when the model outputs items containing `<script>` tag. Version 0.10.8-alpha.9 fixes the issue.
Weakness: CWE-79
Which versions are affected by CVE-2026-25802?
3 open source packages ship an affected version, including github.com/QuantumNous/new-api. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/QuantumNous/new-api Go | All versions | 0.10.8-alpha.9 |
github.com/QuantumNous/new-api Go | All versions | 0.10.8-alpha.9 |
github.com/QuantumNous/new-api Go | All versions | 0.10.8-alpha.9 |
Products include Newapi New Api.
How do I fix CVE-2026-25802?
Upgrade github.com/QuantumNous/new-api to 0.10.8-alpha.9 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-25802 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-25802 exists.
Other vulnerabilities in QuantumNous new-api
- CVE-2025-55573 Cross-site scripting in n/a
- CVE-2026-33655 New API: SSRF Protection Bypass via Unresolved Hostname in Notification URLs
- CVE-2026-41432 New API: Stripe Webhook Signature Bypass via Empty Secret Enables Unlimited Quota Fraud
- CVE-2026-42339 New API: SSRF Filter Bypass via 0.0.0.0
- CVE-2026-25591 New API has an SQL LIKE Wildcard Injection DoS via Token Search
Sources
Also known as GHSA-299v-8pq9-5gjq, GO-2026-4532.