CVE-2025-51464: aim · Cross-site Scripting
Affects aimSource CVE Database V5
Not known to be exploited · CVSS 8.8 High.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 53% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 22 Jul 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubaimhubio/aimpkg:github/aimhubio/aimOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Immediate mitigation should focus on restricting access to the /api/reports endpoint to trusted users only, implementing strict input validation and sanitization on submitted Python code to prevent injection of JavaScript via Pyodide. Organizations should consider disabling or limiting the use of Pyodide’s run_js() function until a secure patch is available. Employ Content Security Policy (CSP) headers to restrict execution of unauthorized scripts in the browser context. Monitoring and logging access to the reports API and viewing activity can help detect suspicious behavior. User awareness training should emphasize caution when viewing reports from untrusted sources. Network segmentation and application-layer firewalls can limit exposure. Organizations should track vendor advisories for patches or updates addressing this vulnerability and apply them promptly once available. In the interim, consider alternative reporting tools or versions without this vulnerability if feasible.
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().