{"cve":"CVE-2023-40342","nvd":{"published":"2023-08-16T15:15:11.753","modified":"2026-06-17T06:17:19.323","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4},"cwes":["CWE-79"],"references":["http://www.openwall.com/lists/oss-security/2023/08/16/3","https://www.jenkins.io/security/advisory/2023-08-16/#SECURITY-3223","http://www.openwall.com/lists/oss-security/2023/08/16/3","https://www.jenkins.io/security/advisory/2023-08-16/#SECURITY-3223"],"products":["jenkins:flaky_test_handler"],"source":"nvd","synced_at":"2026-10-19T21:39:14.809778102+00:00"},"epss":{"cve":"CVE-2023-40342","score":0.00602,"percentile":0.48802,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-hv48-hgp6-xpqf","url":"https://osv.dev/vulnerability/GHSA-hv48-hgp6-xpqf","summary":"Jenkins Flaky Test Handler Plugin stored cross-site scripting vulnerability","modified":"2024-02-16T08:18:25.364857Z","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"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}