Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-4186: Cross Site Scripting in UEditor

0
Medium
VulnerabilityCVE-2026-4186cvecve-2026-4186
Published: Sun Mar 15 2026 (03/15/2026, 19:02:06 UTC)
Source: CVE Database V5
Product: UEditor

Description

CVE-2026-4186 is a medium severity cross-site scripting (XSS) vulnerability in UEditor versions up to 1. 4. 3. 2, specifically in the JSONP Callback Handler of the php/controller. php? action=uploadimage endpoint. The vulnerability arises from improper handling of the 'callback' parameter, allowing remote attackers to inject malicious scripts. Exploitation requires no authentication but does require user interaction to trigger the XSS payload. The affected UEditor versions are no longer supported by the vendor, and no patches have been released. Although the exploit has been publicly disclosed, no known active exploitation in the wild has been reported.

AI-Powered Analysis

AILast updated: 03/15/2026, 19:35:30 UTC

Technical Analysis

CVE-2026-4186 identifies a cross-site scripting vulnerability in UEditor, an open-source web-based rich text editor, affecting versions 1.4.3.0 through 1.4.3.2. The flaw exists in the JSONP Callback Handler within the php/controller.php script when handling the 'uploadimage' action. Specifically, the 'callback' parameter is not properly sanitized or validated, allowing an attacker to inject arbitrary JavaScript code. This vulnerability can be exploited remotely without authentication, but requires a victim to interact with a crafted URL or page that triggers the malicious callback execution in their browser context. The vulnerability leverages JSONP, a technique that can bypass same-origin policies, making it a potent vector for XSS attacks. The vendor has not responded to disclosure attempts, and no official patches or updates are available since these versions are no longer maintained. The CVSS 4.0 base score is 5.1 (medium), reflecting the moderate impact on confidentiality and integrity with limited availability impact. The attack complexity is low, and user interaction is necessary. While no known exploits in the wild have been reported, the public disclosure increases the risk of exploitation, especially in legacy systems still deploying these UEditor versions.

Potential Impact

The primary impact of this vulnerability is the potential for client-side code injection leading to cross-site scripting attacks. Successful exploitation can allow attackers to execute arbitrary JavaScript in the context of the victim's browser, potentially resulting in session hijacking, theft of cookies or credentials, defacement, or redirection to malicious sites. This compromises user confidentiality and integrity but does not directly affect server availability. Organizations using vulnerable UEditor versions in their web applications expose their users to these risks, which can damage reputation, lead to data breaches, and facilitate further attacks such as phishing or malware distribution. Since the affected versions are no longer supported, organizations face increased risk due to the absence of vendor patches. The medium severity score reflects the moderate but significant threat posed, especially for high-traffic or sensitive web applications.

Mitigation Recommendations

Given the lack of vendor support and patches, organizations should prioritize migrating away from UEditor versions 1.4.3.0 to 1.4.3.2 to actively maintained alternatives or newer, secure versions if available. If migration is not immediately feasible, implement strict input validation and output encoding on the 'callback' parameter to ensure only safe, expected values are accepted. Employ Content Security Policy (CSP) headers to restrict the execution of inline scripts and reduce the impact of potential XSS payloads. Additionally, consider disabling JSONP functionality if it is not required, or replace JSONP with safer alternatives like CORS. Regularly audit web application code for unsafe parameter handling and educate developers on secure coding practices related to client-side scripting. Monitoring web traffic for suspicious requests targeting the vulnerable endpoint can also help detect attempted exploitation.

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
VulDB
Date Reserved
2026-03-14T22:04:07.676Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69b7069a9d4df451835804b7

Added to database: 3/15/2026, 7:20:58 PM

Last enriched: 3/15/2026, 7:35:30 PM

Last updated: 3/15/2026, 10:17:37 PM

Views: 7

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 in Console -> Billing 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