HighVulnerability
GHSA-299v-8pq9-5gjq: New API has Potential XSS in its MarkdownRenderer component
- Identifiers
- CVE-2026-25802GHSA-299v-8pq9-5gjq
- Published
- Record updated
- Affected
- github.com/QuantumNous/new-api < 0.10.8-alpha.9
- Fixed in
- 0.10.8-alpha.9
- released February 6, 2026, 17 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.3%
Summary
The New API project has a cross-site scripting flaw in its MarkdownRenderer.jsx component, where lines 212-231 use dangerouslySetInnerHTML to preview HTML that the model generates. A model response containing a script tag can run in the playground, and because chat records are stored, the script re-triggers whenever the page is reopened. The advisory notes the impact applies if the model API is altered to output unintended code.
Mitigation
The preview may be placed in an iframe sandbox, and dangerous HTML strings should be purified before rendering.
Related items
- MediumResearchers Uncover Prompt Adware Hidden in OpenAI Codex Jailbreak ToolkitSimilar attack · The Hacker News
- MediumCVE-2026-121936: easyVoice server-side request forgery through openaiBaseUrl in /api/v1/ttsSimilar attack · NVD/CVE Database
- MediumCVE-2026-118628: MLflow get-artifacts server-side request forgery information disclosureSimilar attack · NVD/CVE Database
- HighCVE-2026-118625: MLflow Tracking Server privilege escalation via get_endpointsSimilar attack · NVD/CVE Database
- InfoWhen trust becomes the payload: Inside the threats, etc quarterly reportSimilar attack · Elastic Security Labs