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

- Severity: Medium 5.4 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2024-12-24T03:25:27.815Z
- Modified: 2026-07-07T17:57:12.404Z
- Also known as: GHSA-g2vg-8hfg-79vj, PYSEC-2026-1501
- Weaknesses: CWE-116
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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

(As written by CVE List.)

## Affected

- koji: before 1.35.1
- koji (PyPI): from 1.35.0 before 1.35.1; from 1.34.0 before 1.34.3; before 1.33.2

## Every score

- redhat: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://access.redhat.com/security/cve/CVE-2024-9427> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2316047> (issue-tracking, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-9427> (advisory)
- <https://docs.pagure.org/koji/CVEs/CVE-2024-9427> (web)
- <https://pagure.io/koji> (package)
- <https://pagure.io/koji/c/8c72d90d7bb991f8fb193851b80847ac9e9474a4?branch=master> (web)
- <https://pypi.org/project/koji> (package)
- <https://github.com/advisories/GHSA-g2vg-8hfg-79vj> (advisory)

## Sources

- CVE List: [CVE-2024-9427](https://www.cve.org/CVERecord?id=CVE-2024-9427), CVE Terms of Use, modified 2025-08-30
- GitHub Advisory Database: [GHSA-g2vg-8hfg-79vj](https://github.com/advisories/GHSA-g2vg-8hfg-79vj), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2024-9427](https://nvd.nist.gov/vuln/detail/CVE-2024-9427), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1501](https://osv.dev/vulnerability/PYSEC-2026-1501), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2024-9427 · Whole record: https://cve.day/CVE-2024-9427.json · Rebuilt by cve.day 2026-11-25T22:58:50.330Z
