# CVE-2025-51464: Aim vulnerable to Cross-site Scripting

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-07-22T00:00:00.000Z
- Modified: 2026-09-10T03:50:26.071Z
- Also known as: GHSA-gmvv-rj92-9w35, PYSEC-2026-1087
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## 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().

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- aim (PyPI): up to 3.30.0.dev20250611
- aimstack aim: 3.28.0

## Every score

- CISA-ADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Medium `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: 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`

## References

- <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://github.com/aimhubio/aim> (package, product)
- <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

- CVE List: [CVE-2025-51464](https://www.cve.org/CVERecord?id=CVE-2025-51464), CVE Terms of Use, modified 2025-07-22
- GitHub Advisory Database: [GHSA-gmvv-rj92-9w35](https://github.com/advisories/GHSA-gmvv-rj92-9w35), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-51464](https://nvd.nist.gov/vuln/detail/CVE-2025-51464), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1087](https://osv.dev/vulnerability/PYSEC-2026-1087), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2025-51464 · Whole record: https://cve.day/CVE-2025-51464.json · Rebuilt by cve.day 2026-11-25T22:59:01.578Z
