{"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","slug":"CVE-2026-56840","body":"## Overview\n\nPraisonAI 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.\n\n## Affected\n\n- `PraisonAI >= 4.5.2, < 4.6.59`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-56840)\n\nAffected packages:\n\n- `praisonai >= 4.5.2, < 4.6.59`\n\nPatched in:\n\n- `praisonai 4.6.59`\n\nSource: https://osv.dev/vulnerability/GHSA-63v4-w882-g4x2","depth":"midnight","depthScore":60,"depthScoreParts":{"impact":48.4,"likelihood":0.1,"exploitation":12,"ransomware":0},"changes":[{"seq":231409,"id":"CVE-2026-56840","ts":1793412951010,"field":"exploit_available","old":"false","new":"true"}]}