{"answers":{"affected":"2 open source packages ship an affected version, including org.jenkins-ci.plugins:build-metrics. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-10475 exists.","fix":"No fix has been published for CVE-2019-10475 yet. Limit exposure of the affected software until one is available.","what":"CVE-2019-10475 is a medium-severity cross-site scripting vulnerability in Jenkins build-metrics Plugin, published on 23 Oct 2019. 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-2019-10475 and fix it if it is affected.\n\nWhat it is: CVE-2019-10475 is a medium-severity cross-site scripting vulnerability in Jenkins build-metrics Plugin, published on 23 Oct 2019. 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-2019-10475 exists.\n\nAffected packages and fixed versions:\n- org.jenkins-ci.plugins:build-metrics (Maven): affected all versions up to 1.3; no fix listed\n- org.jenkins-ci.plugins:build-metrics (Maven): affected all versions up to 1.3; 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-2019-10475/ (Markdown: https://insights.sbomify.com/CVE-2019-10475/index.md)","id":"CVE-2019-10475","markdown":"https://insights.sbomify.com/CVE-2019-10475/index.md","name":"CVE-2019-10475","record":{"aliases":["GHSA-f8w9-66fp-3jgw"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Jenkins build-metrics Plugin","requires_auth":"none","summary":"Attackers can inject arbitrary HTML and JavaScript into Jenkins web pages via the build-metrics plugin, potentially compromising user sessions.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"jenkins","cpe":[{"product":"build-metrics","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":"A reflected cross-site scripting vulnerability in Jenkins build-metrics Plugin allows attackers to inject arbitrary HTML and JavaScript into web pages provided by this plugin.","ecosystems":["Maven"],"exploits":{"exploitdb":1,"first_seen":"2019-11-06","github_poc":1,"max_poc_stars":13,"metasploit":0,"nuclei":1,"refs":[{"date":"2019-11-06T22:19:01Z","kind":"github_poc","ref":"https://github.com/vesche/CVE-2019-10475","stars":13,"title":null},{"date":"2019-11-08","kind":"exploitdb","ref":"47598","stars":null,"title":"Jenkins build-metrics plugin 1.3 - 'label' Cross-Site Scripting"},{"date":null,"kind":"nuclei","ref":"http/cves/2019/CVE-2019-10475.yaml","stars":null,"title":"Jenkins build-metrics 1.3 - Cross-Site Scripting"}],"tier":"weaponised"},"has_fix":false,"headline":"Jenkins build-metrics Plugin reflected cross-site scripting vulnerability","id":"CVE-2019-10475","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"xss","year":"2019"},"n_packages":2,"n_references":3,"next":{"headline":"Jenkins Zulip Plugin vulnerable to Insufficiently Protected Credentials","id":"CVE-2019-10476"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["1.3"],"package":"org.jenkins-ci.plugins:build-metrics","purl":null,"source":"GHSA-f8w9-66fp-3jgw"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["1.3"],"package":"org.jenkins-ci.plugins:build-metrics","purl":"pkg:maven/org.jenkins-ci.plugins/build-metrics","source":"GHSA-f8w9-66fp-3jgw"}],"prev":{"headline":"Jenkins Global Post Script Plugin missing permission check","id":"CVE-2019-10474"},"products":["Jenkins build-metrics Plugin"],"published":"2019-10-23","related":[{"cvss_score":5.4,"headline":"Cross site scripting in Jenkins build-metrics Plugin","id":"CVE-2022-34784","kev_date_added":null,"published":"2022-06-30"},{"cvss_score":4.3,"headline":"Jenkins build-metrics Plugin Missing Authorization vulnerability","id":"CVE-2022-34785","kev_date_added":null,"published":"2022-06-30"}],"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"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["Jenkins project"]},"summary":"Attackers can inject arbitrary HTML and JavaScript into Jenkins web pages via the build-metrics plugin, potentially compromising user sessions.","url":"https://insights.sbomify.com/CVE-2019-10475/"}