Advisory

PYSEC-2026-1501

Also known as: CVE-2024-9427, GHSA-g2vg-8hfg-79vj

Summary

Koji Cross-site Scripting

Details

A vulnerability in Koji was found. An unsanitized input allows for an XSS attack. Javascript code from a malicious link could be reflected in the resulting web page. It is not expected to be able to submit an action or make a change in Koji due to existing XSS protections in the code.

Severity

Medium Basis: CVSS v3 score 5.4, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Dates

Published
2026-07-07 14:34 UTC
Modified
2026-07-07 17:47 UTC

Affected packages and fixes

koji

PyPI · All systems

Affected

  • introduced 0, fixed 1.33.2, introduced 1.34.0, fixed 1.34.3, introduced 1.35.0, fixed 1.35.1 (ecosystem)

Fixed versions

1.33.2, 1.34.3, 1.35.1

Fix

  • Fixed version 1.33.2
    pip install --upgrade koji==1.33.2
  • Fixed version 1.34.3
    pip install --upgrade koji==1.34.3
  • Fixed version 1.35.1
    pip install --upgrade koji==1.35.1

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

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences