CVE-2025-51464: Aim Package Vulnerable to Cross-site Scripting (XSS)

aim Updated 07 Jul 2026

Summary

07/07/2026
No i
Moderate
5.3

CVE-2025-51464: Aim vulnerable to Cross-site Scripting. Affects aim versions < 3.30.0.dev20250611. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Aim is an open-source Python package available on PyPI, designed for managing and analyzing data reports. It provides users with tools to create, view, and manipulate reports efficiently. However, the package has a vulnerability that allows for Cross-site Scripting (XSS), which can be exploited by attackers to execute arbitrary JavaScript in users' browsers.

Vulnerability Detail

The vulnerability arises from a lack of sanitization and sandbox restrictions in the Aim package version 3.28.0. Attackers can submit malicious Python code to the /api/reports endpoint, which is then interpreted and executed by Pyodide when the report is viewed. This allows for the execution of arbitrary JavaScript in the victim's browser, potentially leading to data theft, session hijacking, or other malicious activities.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, avoid using the /api/reports endpoint until the package is updated. Additionally, consider implementing input validation and sanitization on the server-side to mitigate the risk of XSS attacks.

Conclusion

The Aim package is vulnerable to Cross-site Scripting (XSS), which can be exploited by attackers to execute malicious JavaScript in users' browsers. It is crucial to update to a patched version of the package to mitigate this risk. For immediate checks on your application's vulnerability status, consider using Vulert.

See every vulnerability recorded for aim →

Share this vulnerability

FAQ

Cross-site Scripting (XSS) is a security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users.

If exploited, this vulnerability can allow attackers to execute arbitrary JavaScript in users' browsers, leading to potential data theft or unauthorized actions.

Aim versions from 3.28.0 up to 3.30.0.dev20250611 are affected by this vulnerability.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

If you cannot update the package, avoid using the vulnerable endpoint and implement additional security measures to validate and sanitize inputs.

Related vulnerabilities

Recent vulnerabilities recorded for aim.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback