CVE-2025-51464
JSON

8.8high

Aim vulnerable to Cross-site Scripting

Severity
8.8high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.71% (higher than 54% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-gmvv-rj92-9w35PYSEC-2026-1087

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

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
aim (PyPI)up to 3.30.0.dev20250611GitHub Advisory Database, PyPA Advisory Database
aimstack aim3.28.0NVD

All scores

CISA-ADP8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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

NVD (es)

Cross-site Scripting (XSS) en aimhubio Aim 3.28.0 permite a atacantes remotos ejecutar JavaScript arbitrario en los navegadores de las víctimas mediante código Python malicioso enviado al endpoint /api/reports, que Pyodide interpreta y ejecuta al visualizar el informe. Ninguna restricción de depuración ni de entorno de pruebas impide la ejecución de JavaScript mediante pyodide.code.run_js().

References

Sources

SourceRecordLicence
CVE ListCVE-2025-51464 changed 2025-07-22CVE Terms of Use
GitHub Advisory DatabaseGHSA-gmvv-rj92-9w35 changed 2026-09-10CC-BY-4.0
NVDCVE-2025-51464 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-1087 changed 2026-07-07CC-BY-4.0