Live threats

All CVEs / Praison

CVE-2026-40112Praisonai

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
—
Auth required
No
Published
Apr 9, 2026
Updated
Oct 26, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

PraisonAI is a multi-agent teams system. Prior to 4.5.128, the Flask API endpoint in src/praisonai/api.py renders agent output as HTML without effective sanitization. The _sanitize_html function relies on the nh3 library, which is not listed as a required or optional dependency in pyproject.toml. When nh3 is absent (the default installation), the sanitizer is a no-op that returns HTML unchanged. An attacker who can influence agent input (via RAG data poisoning, web scraping results, or prompt injection) can inject arbitrary JavaScript that executes in the browser of anyone viewing the API output. This vulnerability is fixed in 4.5.128.

Original NVD text.

What to do

  1. Apply the vendor's security update for Praisonai.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI praisonai < 4.5.128 4.5.128 pip install "praisonai>=4.5.128"
PyPI praisonai < 4.5.128 4.5.128 pip install "praisonai>=4.5.128"

Per OSV / GitHub Advisories (GHSA-cfg2-mxfj-j6pw, PYSEC-2026-2910). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
praisonpraisonai< 4.5.128

Official sources

References

Links published by the sources. Open them with care.