{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-40342","id":"CVE-2023-40342","title":"Jenkins Flaky Test Handler Plugin stored cross-site scripting vulnerability","description":"Jenkins Flaky Test Handler Plugin 1.2.2 and earlier does not escape JUnit test contents when showing them on the Jenkins UI, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to control JUnit report file contents.","descriptionLong":"Jenkins Flaky Test Handler Plugin 1.2.2 and earlier does not escape JUnit test contents when showing them on the Jenkins UI, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to control JUnit report file contents.","published":"2023-08-16T14:32:53.258Z","updated":"2026-10-24T10:30:24.948224655Z","reserved":"2023-08-14T16:02:56.435Z","status":"Modified","rejected":false,"assigner":"jenkins","metric":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"medium","products":["Jenkins Project Jenkins Flaky Test Handler Plugin"],"affectedProducts":[{"vendor":"Jenkins Project","product":"Jenkins Flaky Test Handler Plugin","defaultStatus":"unaffected","versions":[{"lessThanOrEqual":"1.2.2","status":"affected","version":"0","versionType":"maven"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.jenkins-ci.plugins:flaky-test-handler","purl":"pkg:maven/org.jenkins-ci.plugins/flaky-test-handler","ranges":["<1.2.3"],"fixed":["1.2.3"],"advisory":"GHSA-hv48-hgp6-xpqf"}],"cwes":["CWE-79"],"aliases":["GHSA-hv48-hgp6-xpqf"],"references":[{"url":"https://www.jenkins.io/security/advisory/2023-08-16/#SECURITY-3223","tags":["vendor-advisory","x_transferred","Vendor Advisory","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2023/08/16/3","tags":["x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40342","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00602,"epssPercentile":0.49538,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-40342","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40342","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-40342","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hv48-hgp6-xpqf","ok":true,"note":"GHSA-hv48-hgp6-xpqf"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-40342","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["jenkins"],"critical":[],"attention":null}