{"answers":{"affected":"4 open source packages ship an affected version, including org.jenkins-ci.plugins:matrix-project. It affects 2 products.","exploited":"There is no known exploitation of CVE-2022-20615 in the wild and no public exploit code.","fix":"Upgrade org.jenkins-ci.plugins:matrix-project to a fixed version for your release line: 1.18.1 or 1.20.","what":"CVE-2022-20615 is a medium-severity cross-site scripting vulnerability in Oracle Communications Cloud Native Core Automated Test Suite, published on 12 Jan 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-20615 and fix it if it is affected.\n\nWhat it is: CVE-2022-20615 is a medium-severity cross-site scripting vulnerability in Oracle Communications Cloud Native Core Automated Test Suite, published on 12 Jan 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2022-20615 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.jenkins-ci.plugins:matrix-project (Maven): affected all versions; fixed in 1.18.1\n- org.jenkins-ci.plugins:matrix-project (Maven): affected all versions; fixed in 1.18.1\n- org.jenkins-ci.plugins:matrix-project (Maven): affected from 1.19; fixed in 1.20\n- org.jenkins-ci.plugins:matrix-project (Maven): affected from 1.19; fixed in 1.20\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-20615/ (Markdown: https://insights.sbomify.com/CVE-2022-20615/index.md)","id":"CVE-2022-20615","markdown":"https://insights.sbomify.com/CVE-2022-20615/index.md","name":"CVE-2022-20615","record":{"aliases":["GHSA-vqwg-4v6f-h6x5"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Jenkins Matrix Plugin","requires_auth":"low_privilege","summary":"Stored XSS in Jenkins Matrix Project Plugin allows attackers with Agent/Configure permission to execute scripts via node or label names.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"jenkins","cpe":[{"product":"matrix_project","vendor":"jenkins"},{"product":"communications_cloud_native_core_automated_test_suite","vendor":"oracle"}],"cvss":{"score":5.4,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Jenkins Matrix Project Plugin 1.19 and earlier does not escape HTML metacharacters in node and label names, and label descriptions, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Agent/Configure permission.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Stored XSS vulnerability in Matrix Project Plugin","id":"CVE-2022-20615","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"oracle:communications_cloud_native_core_automated_test_suite","products":["oracle:communications_cloud_native_core_automated_test_suite"],"type":"xss","year":"2022"},"n_packages":4,"n_references":3,"next":{"headline":"Incorrect Permission Assignment for Critical Resource in Jenkins Credentials Binding Plugin","id":"CVE-2022-20616"},"packages":[{"ecosystem":"Maven","fixed":["1.18.1"],"introduced":["0"],"last_affected":[],"package":"org.jenkins-ci.plugins:matrix-project","purl":null,"source":"GHSA-vqwg-4v6f-h6x5"},{"ecosystem":"Maven","fixed":["1.18.1"],"introduced":["0"],"last_affected":[],"package":"org.jenkins-ci.plugins:matrix-project","purl":"pkg:maven/org.jenkins-ci.plugins/matrix-project","source":"GHSA-vqwg-4v6f-h6x5"},{"ecosystem":"Maven","fixed":["1.20"],"introduced":["1.19"],"last_affected":[],"package":"org.jenkins-ci.plugins:matrix-project","purl":null,"source":"GHSA-vqwg-4v6f-h6x5"},{"ecosystem":"Maven","fixed":["1.20"],"introduced":["1.19"],"last_affected":[],"package":"org.jenkins-ci.plugins:matrix-project","purl":"pkg:maven/org.jenkins-ci.plugins/matrix-project","source":"GHSA-vqwg-4v6f-h6x5"}],"prev":{"headline":"Incorrect Permission Assignment for Critical Resource in Jenkins Mailer Plugin","id":"CVE-2022-20614"},"products":["Jenkins Matrix Project Plugin"],"published":"2022-01-12","related":[{"cvss_score":9.9,"headline":"Script security sandbox bypass in Matrix Project Plugin","id":"CVE-2019-1003031","kev_date_added":null,"published":"2019-03-08"},{"cvss_score":5.4,"headline":"Stored XSS vulnerability in single axis builds tooltips in Jenkins Matrix Project Plugin","id":"CVE-2020-2224","kev_date_added":null,"published":"2020-07-15"},{"cvss_score":5.4,"headline":"Stored XSS vulnerability in multiple axis builds tooltips in Jenkins Matrix Project Plugin","id":"CVE-2020-2225","kev_date_added":null,"published":"2020-07-15"},{"cvss_score":4.3,"headline":"Path traversal vulnerability in Jenkins Matrix Project Plugin","id":"CVE-2024-23900","kev_date_added":null,"published":"2024-01-24"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["Jenkins project"]},"summary":"Stored XSS in Jenkins Matrix Project Plugin allows attackers with Agent/Configure permission to execute scripts via node or label names.","url":"https://insights.sbomify.com/CVE-2022-20615/"}