CVE-2026-5533 Details
Description
A vulnerability was determined in badlogic pi-mono 0.58.4. The impacted element is an unknown function of the file packages/web-ui/src/tools/artifacts/SvgArtifact.ts of the component SVG Artifact Handler. This manipulation causes cross site scripting. Remote exploitation of the attack is possible. The exploit has been publicly disclosed and may be utilized. The vendor was contacted early about this disclosure but did not respond in any way.
A stored cross-site scripting vulnerability has been identified in Badlogic Pi-Mono version 0.58.4. The issue arises in the SVG Artifact Handler component, specifically within the SvgArtifact.ts file. This vulnerability allows for remote exploitation, where an attacker can manipulate the content generated by a language model (LLM) into creating a malicious SVG artifact. When this artifact is viewed by a user, it executes embedded JavaScript with access to the user's cookies, local storage, and IndexedDB. This exploitation is particularly concerning as it can lead to the theft of sensitive information, including LLM provider API keys and authentication tokens, which are stored in plaintext in the browser's IndexedDB and local storage, respectively.
To address this vulnerability, sanitize SVG content before rendering it using the 'unsafeHTML' directive. This can be done with DOMPurify, a library that cleans HTML and SVG to prevent cross-site scripting. Additionally, apply encryption to stored API keys before saving them in IndexedDB, and consider using a more secure storage method for sensitive information.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 5, 2026CISA-ADP
Assessed Apr 6, 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.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/August829/CVEP/issues/20 | [email protected] | ExploitIssue TrackingTechnical Analysis |
| https://vuldb.com/submit/782170 | [email protected] | Technical Description |
| https://vuldb.com/vuln/355286 | [email protected] | AdvisoryExploitPartial Content |
| https://vuldb.com/vuln/355286/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| badlogic pi-mono | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Apr 5, 2026 | New CVE Received | [email protected] |
Volerion