Skip to content

Clickjacking vulnerability - Missing X-Frame-Options and CSP frame-ancestors headers

Moderate
Siumauricio published GHSA-c94j-8wgf-2q9q Jan 27, 2026

Package

dokploy (dokploy)

Affected versions

<= 0.26.3

Patched versions

None

Description

Summary

The Dokploy web interface is vulnerable to Clickjacking attacks due to missing frame-busting headers. This allows attackers to embed Dokploy pages in malicious iframes and trick authenticated users into performing unintended actions.

Details

The web server does not set X-Frame-Options header or Content-Security-Policy with frame-ancestors directive in HTTP responses. This allows the Dokploy interface to be loaded within an iframe on any external website.

Affected endpoints include:

  • Port 80 (TCP HTTP)
  • Port 3000 (TCP HTTP)
  • Port 8081 (TCP SSL/HTTP)

The vulnerability was identified using WhiteHack security scanner.

PoC

  1. Create an HTML file with the following content:
<!DOCTYPE html>
<html>
<head><title>Clickjacking PoC</title></head>
<body>
  <h1>Click the button below to win a prize!</h1>
  <div style="position: relative;">
    <iframe src="https://[DOKPLOY_INSTANCE]:3000" 
            style="opacity: 0.1; width: 1000px; height: 600px;">
    </iframe>
    <button style="position: absolute; top: 200px; left: 300px;">
      Click me!
    </button>
  </div>
</body>
</html>
  1. Host this file on an attacker-controlled server
  2. Trick an authenticated Dokploy user into visiting the page
  3. User's clicks will interact with the hidden Dokploy interface

Impact

An attacker can trick authenticated administrators into:

  • Modifying deployment configurations
  • Deleting applications or services
  • Changing security settings
  • Creating or modifying users

This is a UI Redressing attack that requires user interaction but no authentication from the attacker's side.

Severity

Moderate

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality
None
Integrity
Low
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N

CVE ID

CVE-2026-24839

Weaknesses

Improper Restriction of Rendered UI Layers or Frames

The web application does not restrict or incorrectly restricts frame objects or UI layers that belong to another application or domain, which can lead to user confusion about which interface the user is interacting with. Learn more on MITRE.

Credits