CVE-2025-51464 Details
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().
A stored cross-site scripting vulnerability has been identified in Aimhubio Aim version 3.28.0. This issue allows remote attackers to execute arbitrary JavaScript in the browsers of victims. The vulnerability arises from the application's acceptance of malicious Python code submitted to the '/api/reports' endpoint. When the report is viewed, the code is interpreted and executed by Pyodide, without any sanitization or sandbox restrictions to prevent JavaScript execution via 'pyodide.code.run_js()'.
Users are advised to update to Aim version 3.29.1, 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 Jul 22, 2025References 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/aimhubio/aim | [email protected] | Product |
| https://github.com/aimhubio/aim/pull/3333 | [email protected] | ExploitIssue Tracking |
| https://www.gecko.security/blog/cve-2025-51464 | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| aimstack aim | 3.28.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 11, 2025 | Initial Analysis | [email protected] |
| Jul 22, 2025 | CVE Modified | CISA-ADP |
| Jul 22, 2025 | New CVE Received | [email protected] |