Skip to content
OpenAdvisories
High · 8.8 CVE-2026-56840 EUVD-2026-108880GHSA-63v4-w882-g4x2PYSEC-2026-3503

PraisonAI: HTTPApproval dashboard renders tool arguments as raw HTML, allowing approval-page XSS to approve dangerous tools

Published Oct 23, 2026 · Updated Oct 29, 2026 · Assigned by GitHub_M

Description

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 products

VendorProductAffectedFixed
MervinPraison PraisonAI >= 4.5.2, < 4.6.59 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI praisonai >= 4.5.2, < 4.6.59 4.6.59 GHSA-63v4-w882-g4x2

References