{"id":"CVE-2025-51464","aliases":["GHSA-gmvv-rj92-9w35","PYSEC-2026-1087"],"title":"Aim vulnerable to Cross-site Scripting","summary":"Aim vulnerable to Cross-site Scripting","severity":"medium","vendor":"aim","product":"aim","ecosystem":"pip","affected":["aim <= 3.30.0.dev20250611"],"published":"2025-07-22","updated":"2026-09-10","sourceUpdated":"2026-09-10T03:50:26.071932044Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-gmvv-rj92-9w35","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-51464"},{"url":"https://github.com/aimhubio/aim/pull/3333"},{"url":"https://github.com/aimhubio/aim"},{"url":"https://www.gecko.security/blog/cve-2025-51464"}],"tags":["osv","pip"],"epss":0.00609,"epssPercentile":0.47864,"ingestedAt":"2026-07-08T18:25:49.744Z","slug":"CVE-2025-51464","body":"## Overview\n\nCross-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().\n\n## Affected packages\n\n- `aim <= 3.30.0.dev20250611`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"sunlit","depthScore":28,"depthScoreParts":{"impact":27.5,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}