{"answers":{"affected":"2 open source packages ship an affected version, including org.jenkins-ci.ruby-plugins:gitlab-hook. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-2096 exists.","fix":"No fix has been published for CVE-2020-2096 yet. Limit exposure of the affected software until one is available.","what":"CVE-2020-2096 is a medium-severity cross-site scripting vulnerability in Jenkins Gitlab Hook Plugin, published on 15 Jan 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2020-2096 and fix it if it is affected.\n\nWhat it is: CVE-2020-2096 is a medium-severity cross-site scripting vulnerability in Jenkins Gitlab Hook Plugin, published on 15 Jan 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-2096 exists.\n\nAffected packages and fixed versions:\n- org.jenkins-ci.ruby-plugins:gitlab-hook (Maven): affected all versions up to 1.4.2; no fix listed\n- org.jenkins-ci.ruby-plugins:gitlab-hook (Maven): affected all versions up to 1.4.2; no fix listed\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-2020-2096/ (Markdown: https://insights.sbomify.com/CVE-2020-2096/index.md)","id":"CVE-2020-2096","markdown":"https://insights.sbomify.com/CVE-2020-2096/index.md","name":"CVE-2020-2096","record":{"aliases":["GHSA-8696-836p-c8qp"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Jenkins Gitlab Hook Plugin","requires_auth":"none","summary":"Reflected XSS in Jenkins Gitlab Hook Plugin allows attackers to execute arbitrary scripts in victim browsers via unescaped project names.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"jenkins","cpe":[{"product":"gitlab_hook","vendor":"jenkins"}],"cvss":{"score":6.1,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/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 Gitlab Hook Plugin 1.4.2 and earlier does not escape project names in the build_now endpoint, resulting in a reflected XSS vulnerability.","ecosystems":["Maven"],"exploits":{"exploitdb":1,"first_seen":"2020-01-16","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":"2020-01-16","kind":"exploitdb","ref":"47927","stars":null,"title":"Jenkins Gitlab Hook Plugin 1.4.2 - Reflected Cross-Site Scripting"},{"date":null,"kind":"nuclei","ref":"http/cves/2020/CVE-2020-2096.yaml","stars":null,"title":"Jenkins Gitlab Hook \u003c=1.4.2 - Cross-Site Scripting"}],"tier":"weaponised"},"has_fix":false,"headline":"Reflected XSS vulnerability in Jenkins gitlab-hook Plugin","id":"CVE-2020-2096","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"xss","year":"2020"},"n_packages":2,"n_references":3,"next":{"headline":"Missing permission checks in Jenkins Sounds Plugin allow OS command execution","id":"CVE-2020-2097"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["1.4.2"],"package":"org.jenkins-ci.ruby-plugins:gitlab-hook","purl":null,"source":"GHSA-8696-836p-c8qp"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["1.4.2"],"package":"org.jenkins-ci.ruby-plugins:gitlab-hook","purl":"pkg:maven/org.jenkins-ci.ruby-plugins/gitlab-hook","source":"GHSA-8696-836p-c8qp"}],"prev":{"headline":"Redgate SQL Change Automation Plugin stored credentials in plain text","id":"CVE-2020-2095"},"products":["Jenkins Gitlab Hook Plugin"],"published":"2020-01-15","related":[{"cvss_score":6.5,"headline":"Jenkins Gitlab Hook Plugin stores and displays GitLab API token in plain text","id":"CVE-2018-1000196","kev_date_added":null,"published":"2018-06-05"}],"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)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["Jenkins project"]},"summary":"Reflected XSS in Jenkins Gitlab Hook Plugin allows attackers to execute arbitrary scripts in victim browsers via unescaped project names.","url":"https://insights.sbomify.com/CVE-2020-2096/"}