Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2026-40112

22
FAUCET Score

OVERVIEW CVE-2026-40112 is a stored cross-site scripting (XSS) vulnerability in PraisonAI versions prior to 4.5.128. The Flask API endpoint in src/praisonai/api.py renders agent output as HTML without adequate sanitization. The vulnerability stems from the _sanitize_html function's dependency on the nh3 library, which is not included as a required dependency in the project's pyproject.toml file. When nh3 is absent during default installation, the sanitizer fails to function, leaving HTML output unfiltered. Attackers can inject malicious JavaScript through poisoned RAG data, web scraping results, or prompt injection techniques, which then executes in the browsers of users viewing the API output. SEVERITY This vulnerability carries a CVSS score of 6.1 (Medium) with a network-based attack vector requiring low complexity and no privileges. The attack requires user interaction, as victims must view the compromised API output in their browsers. The impact is limited to low-level confidentiality and integrity violations, with no availability impact. The FAUCET Risk Score of 34.0 and minimal EPSS value of 0.0003 suggest this is not currently among the most critical threats in the vulnerability landscape. EXPLOITATION STATUS There is no evidence of active exploitation in the wild. The vulnerability is not listed on the Known Exploited Vulnerabilities (KEV) catalog, and it does not appear on any hot list of actively targeted CVEs. No publicly available exploit code has been reported. The issue was remedied in version 4.5.128, and organizations should prioritize patching PraisonAI installations to mitigate risk.

Impacted Technologies

VendorProductVersion(s)CPE
< 4.5.128CPE matchmatch criteria
cpe:2.3:a:praison:praisonai:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

5.4MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
LOW
Integrity Impact
LOW
Availability Impact
NONE
Exploitability Score
2.8
Impact Score
2.5
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.22%
Probability of exploitation in next 30 days
EPSS Percentile
12.1%
Percentile rank of EPSS score among Peer Group
As of 2026-07-28
Model: v2026.06.15
This CVE's current EPSS score of 0.0022 is in the 12th percentile among its peer group of 26,236 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.1 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (1)

pippatch availablevia ghsa
Product: PraisonAIFixed in: 4.5.128

Vendor Advisories (1)

pipGHSA-cfg2-mxfj-j6pwmedium

PraisonAI Vulnerable to Stored XSS via Unsanitized Agent Output in HTML Rendering (nh3 Not a Required Dependency)

Apr 10, 2026

References

github.com / MervinPraison/PraisonAI/security/advisories/GHSA-cfg2-mxfj-j6pw
ExploitVendor Advisory