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

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-18T13:52:59.000Z
- Modified: 2026-10-29T04:18:39.000Z
- Also known as: GHSA-63v4-w882-g4x2, PYSEC-2026-3503
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- MervinPraison PraisonAI: >= 4.5.2, < 4.6.59
- praisonai (PyPI): from 4.5.2 before 4.6.59

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-63v4-w882-g4x2> (exploit, web)
- <https://github.com/MervinPraison/PraisonAI> (package)
- <https://pypi.org/project/praisonai> (package)
- <https://github.com/advisories/GHSA-63v4-w882-g4x2> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-56840> (advisory)

## Sources

- CVE List: [CVE-2026-56840](https://www.cve.org/CVERecord?id=CVE-2026-56840), CVE Terms of Use, modified 2026-10-29
- GitHub Advisory Database: [GHSA-63v4-w882-g4x2](https://github.com/advisories/GHSA-63v4-w882-g4x2), CC-BY-4.0, modified 2026-07-23
- NVD: [CVE-2026-56840](https://nvd.nist.gov/vuln/detail/CVE-2026-56840), Public domain, modified 2026-10-29
- PyPA Advisory Database: [PYSEC-2026-3503](https://osv.dev/vulnerability/PYSEC-2026-3503), CC-BY-4.0, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-56840 · Whole record: https://cve.day/CVE-2026-56840.json · Rebuilt by cve.day 2026-11-25T22:59:46.878Z
