CVE-2026-25802 Details
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.
A cross-site scripting (XSS) vulnerability has been identified in the New API project, specifically in the MarkdownRenderer.jsx component, prior to version 0.10.8-alpha.9. The issue arises from an unsafe operation that allows model outputs containing <script> tags to be rendered without proper sanitization, potentially injecting malicious scripts. This vulnerability can be exploited by prompting the model to generate HTML with embedded scripts, which are then executed in the user's browser.
Users can update to New API version 0.10.8-alpha.9 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 26, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| newapi new api | < 0.10.8 0.10.8 alpha1 0.10.8 alpha2 0.10.8 alpha3 0.10.8 alpha4 0.10.8 alpha5 0.10.8 alpha6 0.10.8 alpha7 0.10.8 alpha8 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 25, 2026 | Initial Analysis | [email protected] |
| Feb 24, 2026 | New CVE Received | [email protected] |