Skip to main content

CVE-2026-56840: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in MervinPraison PraisonAI

0
High
VulnerabilityCVE-2026-56840cvecve-2026-56840cwe-79
Published: 10/23/2026 (10/23/2026, 11:58:24 UTC)
Source: CVE Database V5
Vendor/Project: MervinPraison
Product: PraisonAI

Description

CVE-2026-56840 is a high-severity cross-site scripting (XSS) vulnerability in MervinPraison's PraisonAI multi-agent teams system. Versions from 4.5.2 up to but not including 4.6.59 are affected. The vulnerability occurs because the HTTPApproval component renders attacker-controlled input directly into the approval dashboard HTML without proper neutralization. This allows an attacker to inject JavaScript that executes in the context of the dashboard, potentially approving malicious tool requests automatically. The issue has been patched in version 4.6.59.

CVSS v3.1

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected software

MervinPraison

PraisonAI

Affected versions
>=4.5.2 <4.6.59
GitHub Actionsmore threats →ai
mervinpraison/PraisonAI
pkg:github/mervinpraison/PraisonAI
Affected versions
>=4.5.2 <4.6.59

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/23/2026, 12:30:18 UTC

Technical Analysis

PraisonAI versions >=4.5.2 and <4.6.59 contain a CWE-79 improper input neutralization vulnerability in the praisonai.bots.HTTPApproval module. Specifically, pending tool approval arguments are rendered directly into the approval dashboard HTML, enabling an attacker to inject JavaScript. When a human user views the approval URL, the injected script executes in the dashboard's origin and can send a POST request to the /approve/{request_id}/decide endpoint, causing the system to approve the request without proper authorization. This vulnerability has been fixed in version 4.6.59.

Potential Impact

Successful exploitation allows an attacker to perform cross-site scripting that runs in the context of the approval dashboard. This can lead to unauthorized approval of tool requests, resulting in potential compromise of the approval process and escalation of privileges or unauthorized actions within PraisonAI. The CVSS 3.1 score is 8.8 (high), reflecting network attack vector, low attack complexity, no privileges required, user interaction required, and high impact on confidentiality, integrity, and availability.

Mitigation Recommendations

Upgrade PraisonAI to version 4.6.59 or later, where this vulnerability has been patched. No other mitigations are indicated by the vendor advisory. Users should ensure they do not use affected versions in production environments.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-23T14:55:09.118Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6adb50114d27ba8daa216e90

Added to database: 10/23/2026, 12:16:17 UTC

Last enriched: 10/23/2026, 12:30:18 UTC

Last updated: 10/23/2026, 12:35:27 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses