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

High 8.8 Published Updated

Remote attackers can execute arbitrary JavaScript in victims' browsers via malicious Python code submitted to the reports endpoint in Aim.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-51464?

CVE-2025-51464 is a high-severity cross-site scripting vulnerability in n/a, published on 22 Jul 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

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

Weakness: CWE-79

Which versions are affected by CVE-2025-51464?

3 open source packages ship an affected version, including aim. It affects 1 product.

PackageAffectedFixed in
aim PyPIAll versions to 3.30.0.dev20250611None
aim PyPIAll versions to 3.30.0.dev20250611None
aim PyPIAll versions to 3.30.0.dev20250611None

Products include Aimstack Aim.

How do I fix CVE-2025-51464?

No fix has been published for CVE-2025-51464 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2025-51464 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-51464 exists.

Sources

Also known as GHSA-gmvv-rj92-9w35, PYSEC-2026-1087.

Is CVE-2025-51464 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free