Vulnerability · Published Feb 24, 2026 · Assigned by GitHub_M
CVE-2026-25802New API has Potential XSS in its MarkdownRenderer component
High 7.6
In plain English
A high-severity cross-site scripting in new-api from QuantumNous. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 17% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/QuantumNous/new-api | 0.10.8-alpha.9 | GHSA-299v-8pq9-5gjq |
| Go | github.com/QuantumNous/new-api | 0.10.8-alpha.9 | GO-2026-4532 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| QuantumNous | new-api | < 0.10.8-alpha.9 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:L