{"api_version":"1","generated_at":"2026-07-23T11:59:22+00:00","cve":"CVE-2023-40342","urls":{"html":"https://cve.report/CVE-2023-40342","api":"https://cve.report/api/cve/CVE-2023-40342.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-40342","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-40342"},"summary":{"title":"CVE-2023-40342","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.","state":"PUBLIC","assigner":"jenkinsci-cert@googlegroups.com","published_at":"2023-08-16 15:15:00","updated_at":"2023-08-18 20:05:00"},"problem_types":["CWE-79"],"metrics":[],"references":[{"url":"http://www.openwall.com/lists/oss-security/2023/08/16/3","name":"http://www.openwall.com/lists/oss-security/2023/08/16/3","refsource":"MISC","tags":[],"title":"oss-security - Re: Multiple vulnerabilities in Jenkins plugins","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.jenkins.io/security/advisory/2023-08-16/#SECURITY-3223","name":"https://www.jenkins.io/security/advisory/2023-08-16/#SECURITY-3223","refsource":"MISC","tags":[],"title":"Jenkins Security Advisory 2023-08-16","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-40342","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40342","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"40342","vulnerable":"1","versionEndIncluding":"1.2.2","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"jenkins","cpe5":"flaky_test_handler","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"jenkins","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2023-40342","qid":"994873","title":"Java (Maven) Security Update for org.jenkins-ci.plugins:flaky-test-handler (GHSA-hv48-hgp6-xpqf)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-40342","ASSIGNER":"jenkinsci-cert@googlegroups.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"Jenkins Project","product":{"product_data":[{"product_name":"Jenkins Flaky Test Handler Plugin","version":{"version_data":[{"version_affected":"<=","version_name":"0","version_value":"1.2.2"}]}}]}}]}},"references":{"reference_data":[{"url":"https://www.jenkins.io/security/advisory/2023-08-16/#SECURITY-3223","refsource":"MISC","name":"https://www.jenkins.io/security/advisory/2023-08-16/#SECURITY-3223"},{"url":"http://www.openwall.com/lists/oss-security/2023/08/16/3","refsource":"MISC","name":"http://www.openwall.com/lists/oss-security/2023/08/16/3"}]}},"nvd":{"publishedDate":"2023-08-16 15:15:00","lastModifiedDate":"2023-08-18 20:05:00","problem_types":["CWE-79"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.3,"impactScore":2.7}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:jenkins:flaky_test_handler:*:*:*:*:*:jenkins:*:*","versionEndIncluding":"1.2.2","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}