CVE-2026-25802 New API has Potential XSS in its MarkdownRenderer component

High 7.6 Published Updated

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.

PackageAffectedFixed in
github.com/QuantumNous/new-api GoAll versions0.10.8-alpha.9
github.com/QuantumNous/new-api GoAll versions0.10.8-alpha.9
github.com/QuantumNous/new-api GoAll versions0.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.

Sources

Also known as GHSA-299v-8pq9-5gjq, GO-2026-4532.

Is CVE-2026-25802 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free