8.8high
Aim vulnerable to Cross-site Scripting
- Severity
- 8.8high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.71% (higher than 54% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-gmvv-rj92-9w35PYSEC-2026-1087
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().
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| aim (PyPI) | up to 3.30.0.dev20250611 | GitHub Advisory Database, PyPA Advisory Database |
| aimstack aim | 3.28.0 | NVD |
All scores
| CISA-ADP | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| PyPA Advisory Database | Not scored CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
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().
NVD (es)
Cross-site Scripting (XSS) en aimhubio Aim 3.28.0 permite a atacantes remotos ejecutar JavaScript arbitrario en los navegadores de las víctimas mediante código Python malicioso enviado al endpoint /api/reports, que Pyodide interpreta y ejecuta al visualizar el informe. Ninguna restricción de depuración ni de entorno de pruebas impide la ejecución de JavaScript mediante pyodide.code.run_js().
References
| https://github.com/aimhubio/aim | package, product | |
| https://github.com/aimhubio/aim/pull/3333 | exploit, issue-tracking, web | |
| https://www.gecko.security/blog/cve-2025-51464 | exploit, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-51464 | advisory | |
| https://pypi.org/project/aim | package | |
| https://github.com/advisories/GHSA-gmvv-rj92-9w35 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-51464 changed 2025-07-22 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-gmvv-rj92-9w35 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2025-51464 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-1087 changed 2026-07-07 | CC-BY-4.0 |