---
id: "CVE-2026-126945"
page: "https://infrastack.ai/live/CVE-2026-126945"
kind: "vulnerability"
aliases: ["CVE-2026-126945"]
title: "Zipline: stored script injection through uploaded text files in viewers' browsers"
severity: "critical"
cvss: 9.3
epss: null
exploited: false
status: "open"
category: "runtime"
products: []
ecosystems: []
tags: ["file-sharing", "runtime", "self-hosted", "zipline"]
not_affected_if: ["version-4.5.1-or-later"]
published_at: "2026-11-13T10:18:01+00:00"
first_seen_at: "2026-11-13T10:47:27+00:00"
updated_at: "2026-11-13T10:48:19+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126945", "first_seen_at": "2026-11-13T10:47:27+00:00"}]
exploit_sources: []
---

# Zipline: stored script injection through uploaded text files in viewers' browsers

Link for people: https://infrastack.ai/live/CVE-2026-126945 (this .md is for agents)

Zipline, a self-hosted file sharing server, renders uploaded text files without escaping them in its HighlightCode component before highlight.js loads. An authenticated user can upload a text file containing JavaScript that runs in the browser of anyone who views it, and can make API calls such as account changes as that victim.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the Zipline version in use; versions before `4.5.1` are affected.
- Look for a Zipline instance where users can upload text files and other people view them.

## Fix

- Zipline: move to `4.5.1` or later.

## Timeline

- 2026-11-13T10:47:27+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-126945

## Documents

- [advisory] Vendor advisory: github.com https://github.com/diced/zipline/security/advisories/GHSA-m649-gvwx-j6qv
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/zipline-before-4.5.1-stored-xss-via-highlightcode-component

## From the sources

Zipline before 4.5.1 contains a stored cross-site scripting vulnerability in the HighlightCode component that renders unescaped file content before highlight.js finishes loading. Authenticated attackers can upload text files containing HTML/JavaScript payloads that execute in viewers' browsers, enabling API calls such as account changes on the victim's behalf.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
