{"id":"GHSA-7q9r-vhg2-789w","summary":"Stored XSS vulnerability in Jenkins brakeman Plugin","details":"brakeman Plugin 0.12 and earlier did not escape values received from parsed JSON files when rendering them, resulting in a stored cross-site scripting vulnerability.\n\nThis vulnerability can be exploited by users able to control the Brakeman post-build step input data.\\n\\nbrakeman Plugin 0.13 escape affected values from the parsed file as they are recorded.\n\nThis fix is only applied to newly recorded data after a fixed version of the plugin is installed; historical data may still contain unsafe values.","aliases":["CVE-2020-2122"],"modified":"2026-08-24T00:34:24.433524453Z","published":"2022-05-24T17:08:47Z","database_specific":{"github_reviewed_at":"2023-01-14T05:27:43Z","nvd_published_at":"2020-02-12T15:15:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-2122"},{"type":"PACKAGE","url":"https://github.com/jenkinsci/brakeman-plugin"},{"type":"WEB","url":"https://jenkins.io/security/advisory/2020-02-12/#SECURITY-1644"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2020/02/12/3"}],"affected":[{"package":{"name":"org.jenkins-ci.plugins:brakeman","ecosystem":"Maven","purl":"pkg:maven/org.jenkins-ci.plugins/brakeman"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.13"}]}],"versions":["0.10","0.11","0.12","0.7","0.8"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-7q9r-vhg2-789w/GHSA-7q9r-vhg2-789w.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}