CVE-2024-9427
Koji: escape html tag characters in the query string
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
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
5.4
Koji: escape html tag characters in the query string
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
- Record
CVE-2024-9427- 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 - Weakness
- CWE-116
- Updated
- 2026-11-02
EUVDEUVD-2024-3582
5.4
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
- Record
EUVD-2024-3582- 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 - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-g2vg-8hfg-79vj
5.4
Koji Cross-site Scripting
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.
- Record
GHSA-g2vg-8hfg-79vj- 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 - Weakness
- CWE-116
- Updated
- 2026-11-02
NVD
5.4
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
- Record
CVE-2024-9427- 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 - Weakness
- CWE-116
- Updated
- 2026-11-02
OSV
5.4
Koji: escape html tag characters in the query string
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
- Record
CVE-2024-9427- 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 - Weakness
- CWE-116
- Updated
- 2026-11-02
OSVGHSA-g2vg-8hfg-79vj
5.4
Koji Cross-site Scripting
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.
- Record
GHSA-g2vg-8hfg-79vj- 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 - Weakness
- CWE-116
- Updated
- 2026-11-02
OSVPYSEC-2026-1501
5.4
Koji Cross-site Scripting
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.
- Record
PYSEC-2026-1501- 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 - Updated
- 2026-11-02
OSVUBUNTU-CVE-2024-9427
5.4
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
- Record
UBUNTU-CVE-2024-9427- 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 - Updated
- 2026-11-02
Affected packages
| Package | Affected | Fixed |
|---|---|---|
kojiPyPI |
1.35.0 to 1.35.0 | 1.35.1 |
kojiPyPI |
1.34.0 up to 1.34.3 | 1.34.3 |
kojiPyPI |
before 1.33.2 | 1.33.2 |
kojiPyPI |
1.35.0 up to 1.35.1 | 1.35.1 |
kojiPyPI |
1.34.0 up to 1.34.3, plus listed versions 1.34.11.34.2 |
1.34.3 |
kojiPyPI |
before 1.33.2, plus listed versions 1.15.01.16.01.16.11.17.01.18.0 Show 30 moreShow less1.19.01.19.11.20.01.20.11.21.01.21.11.22.01.22.11.23.01.23.11.24.01.24.11.25.01.25.11.26.01.26.11.27.01.27.11.28.01.28.11.29.01.29.11.30.01.30.11.31.01.31.11.32.01.32.11.33.01.33.1 |
1.33.2 |
kojiPyPI |
before 1.33.2, 1.34.0 up to 1.34.3, 1.35.0 up to 1.35.1, plus listed versions 1.15.01.16.01.16.11.17.01.18.0 Show 32 moreShow less1.19.01.19.11.20.01.20.11.21.01.21.11.22.01.22.11.23.01.23.11.24.01.24.11.25.01.25.11.26.01.26.11.27.01.27.11.28.01.28.11.29.01.29.11.30.01.30.11.31.01.31.11.32.01.32.11.33.01.33.11.34.11.34.2 |
1.33.21.34.31.35.1 |
kojiUbuntu:16.04:LTS |
All versions, plus listed versions 1.10.0-1 |
None known |
kojiUbuntu:18.04:LTS |
All versions, plus listed versions 1.10.0-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-9427 is a medium vulnerability (CVSS 5.4) in koji, published December 24, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.29%, the 21st percentile. Fixed in koji 1.35.1.