Jenkins JUnit Plugin 1159.v0b_396e1e07dd and earlier converts HTTP(S) URLs in test report output to clickable links in an unsafe manner, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Item/Configure permission.
[
{
"source": "https://github.com/jenkinsci/junit-plugin/commit/f1f01aaeab7fa35017112f6163b89283390f5da8",
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2022-45380-1f0b7778",
"digest": {
"function_hash": "38294456350444789013210639004402907239",
"length": 302.0
},
"target": {
"function": "annotate",
"file": "src/main/java/hudson/tasks/test/TestResult.java"
}
},
{
"source": "https://github.com/jenkinsci/junit-plugin/commit/f1f01aaeab7fa35017112f6163b89283390f5da8",
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1",
"id": "CVE-2022-45380-21d9a6d1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"2225401747299320852080542399052709805",
"99249616740815944559024538286290614722",
"33943821901500803482902317084357399668",
"134959686665864286334375638333516063018",
"335464968731219873310029178275645702998"
]
},
"target": {
"file": "src/main/java/hudson/tasks/test/TestResult.java"
}
},
{
"source": "https://github.com/jenkinsci/junit-plugin/commit/f1f01aaeab7fa35017112f6163b89283390f5da8",
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2022-45380-4d26b284",
"digest": {
"function_hash": "330100818296320259612808637477993308494",
"length": 1695.0
},
"target": {
"function": "testIssue20090516",
"file": "src/test/java/hudson/tasks/junit/CaseResultTest.java"
}
},
{
"source": "https://github.com/jenkinsci/junit-plugin/commit/f1f01aaeab7fa35017112f6163b89283390f5da8",
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1",
"id": "CVE-2022-45380-f1b6f3c6",
"digest": {
"threshold": 0.9,
"line_hashes": [
"105760925231973394457059287493049116557",
"291963206071645492035950516074043568183",
"319756535385095139936226281162870273864",
"111749473775717998740462728825706334334",
"254217782379462401764117099421662878431",
"47730623145202323616316132669709898356",
"235319950552540420305583589492187072655",
"64378740672680513442327214871375999425",
"113325138338067756198975403345935847864",
"18652588658598405426216144477977985826",
"3860659112271162621978642608933898659",
"164676917687804307766644917714343520500",
"103680098942388434811122264162650388905",
"216015386586637357358576104717541980820",
"243058701891112986281998550630983263001",
"247204135802776440345957359596706439799",
"241655725629138046442191887134011558583",
"174744788031642835271637674084875516304",
"2933739595873277214713012132661057054",
"63855147448386309975258435690859927592",
"49880183837748484450480822847475221045"
]
},
"target": {
"file": "src/test/java/hudson/tasks/junit/CaseResultTest.java"
}
}
]