CVE-2025-50183 OpenList (frontend) allows XSS Attacks in the built-in Markdown Viewer

Medium 6.5 Published Updated

Stored XSS in OpenList frontend allows attackers to execute arbitrary JavaScript via malicious Python files viewed in the Markdown viewer.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-50183?

CVE-2025-50183 is a medium-severity cross-site scripting vulnerability in OpenListTeam OpenList, published on 19 Jun 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

OpenList Frontend is a UI component for OpenList. Prior to version 4.0.0-rc.4, a vulnerability exists in the file preview/browsing feature of the application, where files with a .py extension that contain JavaScript code wrapped in <script> tags may be interpreted and executed as HTML in certain modes. This leads to a stored XSS vulnerability. This issue has been patched in version 4.0.0-rc.4.

Weakness: CWE-79

Which versions are affected by CVE-2025-50183?

2 open source packages ship an affected version, including @openlist-frontend/openlist-frontend.

PackageAffectedFixed in
@openlist-frontend/openlist-frontend npmAll versions4.0.0-rc.4
@openlist-frontend/openlist-frontend npmAll versions4.0.0-rc.4

How do I fix CVE-2025-50183?

Upgrade @openlist-frontend/openlist-frontend to 4.0.0-rc.4 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2025-50183 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-50183 exists.

Sources

Also known as GHSA-2hw3-h8qx-hqqp.

Is CVE-2025-50183 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free