Aim vulnerable to Cross-site Scripting
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| aim PyPI |
| No fix yet |
Original 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().
From the CVE record · mitre