{"answers":{"affected":"4 open source packages ship an affected version, including org.jenkins-ci.main:jenkins-core. It affects 2 products.","exploited":"There is no known exploitation of CVE-2012-0325 in the wild and no public exploit code.","fix":"Upgrade org.jenkins-ci.main:jenkins-core to a fixed version for your release line: 1.424.5 or 1.454.","what":"CVE-2012-0325 is a medium-severity cross-site scripting vulnerability in Jenkins Jenkins, published on 9 Mar 2012. It can be exploited over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2012-0325 and fix it if it is affected.\n\nWhat it is: CVE-2012-0325 is a medium-severity cross-site scripting vulnerability in Jenkins Jenkins, published on 9 Mar 2012. It can be exploited over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2012-0325 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.jenkins-ci.main:jenkins-core (Maven): affected all versions; fixed in 1.424.5\n- org.jenkins-ci.main:jenkins-core (Maven): affected all versions; fixed in 1.424.5\n- org.jenkins-ci.main:jenkins-core (Maven): affected from 1.425; fixed in 1.454\n- org.jenkins-ci.main:jenkins-core (Maven): affected from 1.425; fixed in 1.454\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-2012-0325/ (Markdown: https://insights.sbomify.com/CVE-2012-0325/index.md)","id":"CVE-2012-0325","markdown":"https://insights.sbomify.com/CVE-2012-0325/index.md","name":"CVE-2012-0325","record":{"aliases":["GHSA-cc55-c9j4-m7cx"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Jenkins CI server","requires_auth":"unknown","summary":"Remote attackers can inject arbitrary web script or HTML into Jenkins, potentially compromising user sessions or executing malicious code.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"jpcert","cpe":[{"product":"jenkins","vendor":"cloudbees"},{"product":"jenkins","vendor":"jenkins"}],"cvss":{"score":4.3,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","version":"2.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Cross-site scripting (XSS) vulnerability in Jenkins before 1.454, Jenkins LTS before 1.424.5, and Jenkins Enterprise 1.400.x before 1.400.0.13 and 1.424.x before 1.424.5.1 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors, a different vulnerability than CVE-2012-0324.","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":"Jenkins allows Cross-Site Scripting (XSS)","id":"CVE-2012-0325","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"jenkins:jenkins","products":["jenkins:jenkins"],"type":"xss","year":"2012"},"n_packages":4,"n_references":4,"next":{"headline":"Missing authorization in n/a","id":"CVE-2012-0326"},"packages":[{"ecosystem":"Maven","fixed":["1.424.5"],"introduced":["0"],"last_affected":[],"package":"org.jenkins-ci.main:jenkins-core","purl":null,"source":"GHSA-cc55-c9j4-m7cx"},{"ecosystem":"Maven","fixed":["1.424.5"],"introduced":["0"],"last_affected":[],"package":"org.jenkins-ci.main:jenkins-core","purl":"pkg:maven/org.jenkins-ci.main/jenkins-core","source":"GHSA-cc55-c9j4-m7cx"},{"ecosystem":"Maven","fixed":["1.454"],"introduced":["1.425"],"last_affected":[],"package":"org.jenkins-ci.main:jenkins-core","purl":null,"source":"GHSA-cc55-c9j4-m7cx"},{"ecosystem":"Maven","fixed":["1.454"],"introduced":["1.425"],"last_affected":[],"package":"org.jenkins-ci.main:jenkins-core","purl":"pkg:maven/org.jenkins-ci.main/jenkins-core","source":"GHSA-cc55-c9j4-m7cx"}],"prev":{"headline":"Jenkins allows Cross-Site Scripting (XSS)","id":"CVE-2012-0324"},"products":["n/a"],"published":"2012-03-09","related":[{"cvss_score":7.5,"headline":"Hash collision attack vulnerability in Jenkins","id":"CVE-2012-0785","kev_date_added":null,"published":"2020-02-24"},{"cvss_score":6.8,"headline":"Jenkins Cross-Site Request Forgery vulnerabilities","id":"CVE-2013-2034","kev_date_added":null,"published":"2014-05-14"},{"cvss_score":5.8,"headline":"Jenkins affected by Open Redirect Vulnerability","id":"CVE-2012-6073","kev_date_added":null,"published":"2013-02-24"},{"cvss_score":4.3,"headline":"Jenkins allows HTTP Injection and Response Splitting","id":"CVE-2012-6072","kev_date_added":null,"published":"2013-02-24"},{"cvss_score":4.3,"headline":"Jenkins allows Cross-Site Scripting (XSS)","id":"CVE-2012-0324","kev_date_added":null,"published":"2012-03-09"},{"cvss_score":3.5,"headline":"Jenkins allows Cross-Site Scripting (XSS)","id":"CVE-2012-6074","kev_date_added":null,"published":"2013-02-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-06","vendors":["n/a"]},"summary":"Remote attackers can inject arbitrary web script or HTML into Jenkins, potentially compromising user sessions or executing malicious code.","url":"https://insights.sbomify.com/CVE-2012-0325/"}