Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. pyload-ng
  4. ›
  5. CVE-2026-45348

CVE-2026-45348: pyLoad is vulnerable to stored XSS in Downloads view via unsanitized link URL in packages.js template literal

May 14, 2026 (updated June 9, 2026)

The packages.js template at src/pyload/webui/app/themes/modern/templates/js/packages.js:172 interpolates a stored link URL into a template literal inside single-quoted HTML and then writes the result to the DOM via $(div).html(html). No escaping runs between the API value and innerHTML. An attacker (Alice) who can submit a package link puts a single quote plus event handler into the URL, breaks out of the attribute, and executes JavaScript in every operator’s browser that opens the downloads view. The theme does not set a Content Security Policy that restricts inline script or event handlers.

References

  • github.com/advisories/GHSA-fcjq-435v-jx94
  • github.com/pyload/pyload/security/advisories/GHSA-fcjq-435v-jx94
  • nvd.nist.gov/vuln/detail/CVE-2026-45348

Code Behaviors & Features

Detect and mitigate CVE-2026-45348 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.5.0-b.3.dev99

Solution

Unfortunately, there is no solution available yet.

Impact 8.7 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

pypi/pyload-ng/CVE-2026-45348.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:28 +0000.