@openlist-frontend/openlist-frontend
Affected
- introduced
0, fixed4.0.0-rc.4(semver)
Fixed versions
4.0.0-rc.4
Fix
- Fixed version
4.0.0-rc.4npm install @openlist-frontend/[email protected]
Advisory
Also known as: CVE-2025-50183
OpenList (frontend) allows XSS Attacks in the built-in Markdown Viewer
XSS via .py file containing script tag interpreted as HTML
Summary
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.
Affected Versions
PoC
Create a .py file with arbitrary JavaScript content wrapped in <script> tags. For example:
<script>alert(document.cookie);</script>
When a victim views the file in browsing mode (e.g., a rendered preview), the JavaScript is executed in the browser context.
---
Attack vector
An attacker can place such a .py file in the system via remote channels, such as:
Required permissions
User interaction
Yes. The user must manually click to switch to the browsing or preview mode to trigger the script. And seems only when using ISO-8859-1 encoding.
Scope
(S:U) - The attack does not cross system or privilege boundaries in general.(S:C).Impact
---
Recommendations
Timeline
| Date | Event |
|------|-------|
| 2025-06-17 | Vulnerability reported |
| 2025-06-17 | Comminuty Manager confirmed |
| 2025-06-17 | Fixed |
Credits
4.0.0-rc.4Medium Basis: The source's own band: MODERATE
0, fixed 4.0.0-rc.4 (semver)4.0.0-rc.4
4.0.0-rc.4npm install @openlist-frontend/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0