---
id: CVE-2026-56840
title: >-
  PraisonAI: HTTPApproval dashboard renders tool arguments as raw HTML, allowing
  approval-page XSS to approve dangerous tools
summary: >-
  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…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-79
vendor: MervinPraison
product: PraisonAI
affected:
  - 'PraisonAI >= 4.5.2, < 4.6.59'
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-29T02:52:33.970079Z'
exploitAvailable: true
published: '2026-10-23'
updated: '2026-10-29'
sourceUpdated: '2026-10-29T02:52:55.374Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-56840'
references:
  - url: >-
      https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-63v4-w882-g4x2
    label: >-
      https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-63v4-w882-g4x2
  - url: 'https://github.com/MervinPraison/PraisonAI'
tags:
  - cve.org
  - exploit-available
  - osv
  - pip
epss: 0.00375
epssPercentile: 0.31448
aliases:
  - GHSA-63v4-w882-g4x2
ecosystem: pip
patched:
  - praisonai 4.6.59
ingestedAt: '2026-07-21T19:04:56.376Z'
---

## Overview

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.

## Affected

- `PraisonAI >= 4.5.2, < 4.6.59`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-56840)

Affected packages:

- `praisonai >= 4.5.2, < 4.6.59`

Patched in:

- `praisonai 4.6.59`

Source: https://osv.dev/vulnerability/GHSA-63v4-w882-g4x2
