Skip to content

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in 1panel App Store

Moderate
wanghe-fit2cloud published GHSA-mg24-6h5c-9q42 Jan 16, 2026

Package

gomod 1Panel (Go)

Affected versions

<=1.10.33, <=2.0.16

Patched versions

>=v1.10.34, >=v2.0.17

Description

Summary

A stored Cross-Site Scripting (XSS) vulnerability exists in the 1Panel App Store when viewing application details. Malicious scripts can execute in the context of the user’s browser, potentially compromising session data or sensitive system interfaces.

Impact

All versions of 1Panel up to and including v2.0.16 are affected. An attacker could publish a malicious application that, when loaded by users (locally or remotely), can execute arbitrary scripts. This may result in theft of user cookies, unauthorized access to system functions, or other actions that compromise the confidentiality, integrity, and availability of the system.

Details

The vulnerability is caused by insufficient sanitization of content rendered by the MdEditor component with the previewOnly attribute enabled. Specifically:

  • The App Store renders application README content without proper XSS protection, allowing script execution during content rendering.
  • Similar issues exist in system upgrade-related components, which can be fixed by implementing proper XSS sanitization in the MdEditor component.

These vulnerabilities can be mitigated by applying proper XSS protection and sanitization when rendering content in the MdEditor component.

Patches

Safe versions: v1.10.34-lts v2.0.17

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
High
Privileges required
High
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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:H/PR:H/UI:R/S:U/C:H/I:H/A:H

CVE ID

CVE-2026-23525

Weaknesses

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

The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. Learn more on MITRE.

Credits