# CVE-2026-5533: Badlogic pi-mono cross-site scripting in SVG Artifact Handler

Source: https://junglewise.ai/threats/cve-2026-5533-badlogic-pi-mono-cross-site-scripting-in-svg-artifact-handler  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-05. Updated: 2026-07-24  
License: CC BY 4.0 with a link back

CVE-2026-5533 · Severity: medium · CVSS 4.3 · Published 2026-04-05

A security vulnerability exists in the badlogic pi-mono web interface, specifically within its SVG artifact handling component. This flaw allows an attacker to perform cross-site scripting (XSS), which could lead to unauthorized actions being performed in a user's browser session. If a user views a specially crafted SVG file, the attacker could potentially steal session information or redirect the user to malicious websites.

Technologies: [Badlogic Pi-Mono](https://junglewise.ai/threats/technologies/pi-mono). Vendors: [Badlogic](https://junglewise.ai/threats/vendors/badlogic).

## Quick answers

**Is CVE-2026-5533 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-5533 being exploited in the wild.

**How severe is CVE-2026-5533?** Medium severity, with a CVSS score of 4.3, published 5 April 2026.

**Which products and versions are affected?** Badlogic Pi-Mono 0.58.4.

**Is there a fix for CVE-2026-5533?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-5533 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-5533?** Check whether you run Badlogic Pi-Mono at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A cross-site scripting (XSS) vulnerability exists in badlogic pi-mono version 0.58.4. The issue is located in the SVG Artifact Handler component within the file 'packages/web-ui/src/tools/artifacts/SvgArtifact.ts'. The vulnerability stems from improper neutralization of input during web page generation (CWE-79), allowing for code injection (CWE-94). A remote attacker can exploit this by enticing a user to interact with a malicious SVG artifact. Successful exploitation allows the execution of arbitrary JavaScript in the context of the victim's browser session. As of the advisory date, the vendor has not responded to disclosure attempts, and a proof-of-concept exploit is publicly available.

## Affected products

- badlogic pi-mono 0.58.4

## Timeline

- 2026-03-18: disclosed: Initial public disclosure via GitHub issue
- 2026-04-05: advisory: NVD publication date

## References

- [https://github.com/August829/CVEP/issues/20](https://github.com/August829/CVEP/issues/20)
- [https://vuldb.com/submit/782170](https://vuldb.com/submit/782170)
- [https://vuldb.com/vuln/355286](https://vuldb.com/vuln/355286)
- [https://vuldb.com/vuln/355286/cti](https://vuldb.com/vuln/355286/cti)

## Related threats

- [Badlogic pi-mono authentication bypass in pi-mom Slack Bot](https://junglewise.ai/threats/cve-2026-5557-badlogic-pi-mono-authentication-bypass-in-pi-mom-slack-bot)
- [Badlogic pi-mono code injection in discoverAndLoadExtensions](https://junglewise.ai/threats/cve-2026-5556-badlogic-pi-mono-code-injection-in-discoverandloadextensions)
