CVE-2026-50980

Cross‑Site Scripting vulnerability in oPanel DNS lookup enabling session hijacking via crafted DNS TXT record

Published Aug 28, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
Description
Cross-Site Scripting (XSS) vulnerability in the DNS lookup/management component of oPanel before v1.20.25 allows remote attackers to execute arbitrary JavaScript and perform session hijacking via a crafted DNS TXT record

Analysis

AI-generated

Technical impact

A Cross‑Site Scripting flaw allows a remote attacker to inject arbitrary JavaScript through a crafted DNS TXT record that the DNS resolution component in oPanel processes. The injected script runs in the context of the user’s browser, enabling the attacker to hijack user sessions and potentially execute further malicious activities. The lack of proper input validation on DNS TXT records is the root weakness (CWE‑79). The vulnerability is reachable from outside the system by manipulating DNS responses that the application accepts, so any user accessing oPanel could be affected if the DNS TXT payload is delivered.

Affected Systems

The issue affects the DNS lookup/management component of oPanel, specifically versions prior to 1.20.25. Users of any older oPanel releases should verify their installed version, as the flaw is not present in v1.20.25 or newer.

Risk and Exploitability

The exploitation requires controlling a DNS TXT record that is consumed by oPanel’s lookup component, which is feasible for an attacker with access to DNS zone configuration or the ability to influence DNS responses directed at the target. With an EPSS score below 1%, the likelihood of exploitation is low, but the vulnerability is not listed in CISA's KEV catalog. The ability to execute arbitrary JavaScript and hijack sessions results in a CVSS score of 6.1, indicating a medium severity browser‑level XSS that poses significant risk to affected users.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update oPanel to version 1.20.25 or later, which includes the XSS fix.
  • Ensure that any input from DNS TXT records is properly escaped or sanitized before rendering in the web interface.
  • If updating is not immediately possible, configure oPanel or the network to block or strip script tags from DNS TXT records before they are processed by the application.
  • Monitor authentication logs for anomalous session activity that could indicate exploitation.

Generated by OpenCVE AI on September 1, 2026 at 23:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Cross‑Site Scripting vulnerability in oPanel DNS lookup enabling session hijacking via crafted DNS TXT record
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

Type Values Removed Values Added
First Time appeared Womopanel
Womopanel opanel
Vendors & Products Womopanel
Womopanel opanel
Type Values Removed Values Added
Weaknesses CWE-79
Type Values Removed Values Added
Description Cross-Site Scripting (XSS) vulnerability in the DNS lookup/management component of oPanel before v1.20.25 allows remote attackers to execute arbitrary JavaScript and perform session hijacking via a crafted DNS TXT record
References
Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Sep 1, 2026, 7:08 PM
Reserved
Jun 7, 2026, 12:00 AM
Status
Deferred
Published
Aug 28, 2026, 8:18 PM
Modified
Sep 9, 2026, 4:04 PM