{"id":"CVE-2024-9427","aliases":["EUVD-2024-3582","GHSA-g2vg-8hfg-79vj","PYSEC-2026-1501","UBUNTU-CVE-2024-9427"],"status":"published","title":"Koji: escape html tag characters in the query string","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","severity":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00289,"percentile":0.21697,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-116"],"published":"2024-12-24T03:25:27Z","modified":"2026-10-28T02:31:02Z","fixes":[{"ecosystem":"PyPI","package":"koji","fixed_in":["1.35.1","1.34.3","1.33.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"koji","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.35.0"},{"last_affected":"1.35.0"},{"fixed":"1.35.1"}]}],"versions":["1.35.0"]},{"source":"ghsa","ecosystem":"PyPI","package":"koji","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.34.0"},{"fixed":"1.34.3"}]}]},{"source":"ghsa","ecosystem":"PyPI","package":"koji","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.33.2"}]}]},{"source":"osv","ecosystem":"PyPI","package":"koji","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.35.0"},{"fixed":"1.35.1"}]}],"versions":["1.35.0"]},{"source":"osv","ecosystem":"PyPI","package":"koji","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.34.0"},{"fixed":"1.34.3"}]}],"versions":["1.34.0","1.34.1","1.34.2"]},{"source":"osv","ecosystem":"PyPI","package":"koji","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.33.2"}]}],"versions":["1.15.0","1.16.0","1.16.1","1.17.0","1.18.0","1.19.0","1.19.1","1.20.0","1.20.1","1.21.0","1.21.1","1.22.0","1.22.1","1.23.0","1.23.1","1.24.0","1.24.1","1.25.0","1.25.1","1.26.0","1.26.1","1.27.0","1.27.1","1.28.0","1.28.1","1.29.0","1.29.1","1.30.0","1.30.1","1.31.0","1.31.1","1.32.0","1.32.1","1.33.0","1.33.1"]},{"source":"osv","ecosystem":"PyPI","package":"koji","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.33.2"},{"introduced":"1.34.0"},{"fixed":"1.34.3"},{"introduced":"1.35.0"},{"fixed":"1.35.1"}]}],"versions":["1.15.0","1.16.0","1.16.1","1.17.0","1.18.0","1.19.0","1.19.1","1.20.0","1.20.1","1.21.0","1.21.1","1.22.0","1.22.1","1.23.0","1.23.1","1.24.0","1.24.1","1.25.0","1.25.1","1.26.0","1.26.1","1.27.0","1.27.1","1.28.0","1.28.1","1.29.0","1.29.1","1.30.0","1.30.1","1.31.0","1.31.1","1.32.0","1.32.1","1.33.0","1.33.1","1.34.0","1.34.1","1.34.2","1.35.0"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"koji","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.0-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"koji","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.0-1"]}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2024-9427","tags":["vdb-entry","x_refsource_REDHAT","advisory","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2316047","tags":["issue-tracking","x_refsource_REDHAT","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-9427","tags":["advisory"]},{"url":"https://docs.pagure.org/koji/CVEs/CVE-2024-9427","tags":["web"]},{"url":"https://pagure.io/koji/c/8c72d90d7bb991f8fb193851b80847ac9e9474a4?branch=master","tags":["web"]},{"url":"https://github.com/advisories/GHSA-g2vg-8hfg-79vj","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/9xxx/CVE-2024-9427.json","tags":["advisory"]},{"url":"https://github.com/koji-project/koji","tags":["package"]},{"url":"https://pagure.io/koji","tags":["package"]},{"url":"https://pypi.org/project/koji","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2024-9427","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-9427","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2024-9427","title":"Koji: escape html tag characters in the query string","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","status":"published","published":"2024-12-24T03:25:27.815Z","modified":"2025-08-30T21:00:59.012Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-116"],"updated_at":"2026-11-02T14:34:05.823187Z"}],"euvd":[{"id":"EUVD-2024-3582","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","status":"published","published":"2024-12-24T03:25:27Z","modified":"2025-08-30T21:00:59Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T20:31:49.168932Z"}],"ghsa":[{"id":"GHSA-g2vg-8hfg-79vj","title":"Koji Cross-site Scripting","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.","status":"published","published":"2024-12-24T06:30:42Z","modified":"2025-02-07T06:31:14Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-116"],"updated_at":"2026-11-02T14:38:29.866763Z"}],"nvd":[{"id":"CVE-2024-9427","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","status":"published","published":"2024-12-24T04:15:07.36Z","modified":"2026-06-17T08:24:33.19Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-116"],"updated_at":"2026-11-02T14:10:40.507978Z"}],"osv":[{"id":"CVE-2024-9427","title":"Koji: escape html tag characters in the query string","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","status":"published","published":"2024-12-24T03:25:27.815Z","modified":"2026-10-28T02:31:02.563256607Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-116"],"updated_at":"2026-11-02T15:44:45.712478Z"},{"id":"GHSA-g2vg-8hfg-79vj","title":"Koji Cross-site Scripting","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.","status":"published","published":"2024-12-24T06:30:42Z","modified":"2026-07-07T17:57:12.404708812Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-116"],"updated_at":"2026-11-02T15:46:47.119724Z"},{"id":"PYSEC-2026-1501","title":"Koji Cross-site Scripting","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.","status":"published","published":"2026-07-07T14:34:47.795518Z","modified":"2026-07-07T17:47:15.900762953Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:52:55.06457Z"},{"id":"UBUNTU-CVE-2024-9427","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","status":"published","published":"2024-12-24T04:15:00Z","modified":"2025-10-24T05:06:47Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T16:55:18.664792Z"}]}}
