Cross-site scripting in PraisonAI approval page enables tool approval
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
PraisonAI from 4.5.2 before 4.6.59 renders pending tool approval arguments as raw HTML in the praisonai.bots.HTTPApproval approval dashboard. An attacker who controls a tool argument can inject JavaScript into that page (CWE-79). When a person opens the approval URL to review the request, the script runs in the dashboard origin and can approve the risky tool request without the reviewer's consent.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
PraisonAI is a multi-agent teams system. From version 4.5.2 to before version 4.6.59, praisonai.bots.HTTPApproval renders pending tool approval arguments directly into the approval dashboard HTML. An attacker-controlled tool argument can inject JavaScript into that page. When a human opens the approval URL to inspect the risky tool request, the script runs in the dashboard origin and can POST to the same request's /approve/{request_id}/decide endpoint, causing HTTPApproval to return approved=True. This issue has been patched in version 4.6.59.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| MervinPraison | PraisonAI | 4.5.2 to before 4.6.59 | 4.6.59 | Patch available | CNA |
| — | praisonai (PyPI) | 4.5.2 to before 4.6.59 | 4.6.59 | Patch available | GHSA-63v4-w882-g4x2 |
- PraisonAI VendorMervinPraison Affected 4.5.2 to before 4.6.59 Fixed in 4.6.59 Patch available CNA
- praisonai (PyPI) Vendor— Affected 4.5.2 to before 4.6.59 Fixed in 4.6.59 Patch available GHSA-63v4-w882-g4x2
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:praison:praisonai:*:*:*:*:*:*:*:* | — | — | MervinPraison |
- cpe:2.3:a:praison:praisonai:*:*:*:*:*:*:*:* Versions — — ·MervinPraison
Remediation
Upgrade the praisonai PyPI package to version 4.6.59, which fixes the issue. The sources list no fixed version for PraisonAI.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
- Fix · CNA PraisonAI (MervinPraison) Fixed in 4.6.59
- Fix · GHSA-63v4-w882-g4x2 praisonai (PyPI) Fixed in 4.6.59 Advisory →
Timeline
- 2026-10-23 Threatist record created from CVE-2026-56840
- 2026-10-24 Priority changed: MEDIUM → LOW
- 2026-10-29 CISA SSVC decision points changed
- 2026-10-29 Priority changed: LOW → HIGH
References
More MervinPraison vulnerabilities
- TI-2026-79619 Missing authentication in PraisonAI AgentOS exposes agent chat CVSS 3.1CRITICAL 9.8
- TI-2026-71236 Missing access control in PraisonAI AgentTeam exposes agent endpoints CVSS 3.1CRITICAL 9.8
- TI-2026-44052 PraisonAI before 1.6.78 Remote Code Execution via CodeAgent CVSS 4.0CRITICAL 10.0
- TI-2026-41123 praisonai-platform 0.1.4 still boots on the hardcoded JWT secret dev-secret-change-me (default-open production guard) CVSS 3.1CRITICAL 9.8
- TI-2026-41122 praisonai-platform: default JWT signing secret 'dev-secret-change-me' enables token forgery CVSS 3.1CRITICAL 9.8
- TI-2026-41118 PraisonAI MCPServer exposes unauthenticated HTTP tools/call CVSS 3.1CRITICAL 9.8
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences