{"id":"CVE-2020-2122","aliases":["EUVD-2022-3046","GHSA-7q9r-vhg2-789w"],"status":"published","title":"Stored XSS vulnerability in Jenkins brakeman Plugin","description":"Jenkins 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 exploitable by users able to control the Brakeman post-build step input data.","severity":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00822,"percentile":0.57753,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2020-02-12T14:35:45Z","modified":"2026-10-24T10:31:04Z","fixes":[{"ecosystem":"Maven","package":"org.jenkins-ci.plugins:brakeman","fixed_in":["0.13"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.jenkins-ci.plugins:brakeman","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.13"}]}]},{"source":"osv","ecosystem":"Maven","package":"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"]}],"products":[{"vendor":"jenkins","product":"brakeman"},{"vendor":"jenkins project","product":"jenkins brakeman plugin"}],"references":[{"url":"https://jenkins.io/security/advisory/2020-02-12/#SECURITY-1644","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2020/02/12/3","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-2122","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-7q9r-vhg2-789w"},{"url":"https://github.com/jenkinsci/brakeman-plugin","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2020-2122","description":"Jenkins 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 exploitable by users able to control the Brakeman post-build step input data.","status":"published","published":"2020-02-12T14:35:45Z","modified":"2024-08-04T07:01:40.665Z","updated_at":"2026-11-02T14:35:51.563355Z"}],"euvd":[{"id":"EUVD-2022-3046","description":"Jenkins 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 exploitable by users able to control the Brakeman post-build step input data.","status":"published","published":"2020-02-12T14:35:45Z","modified":"2024-08-04T07:01:40Z","updated_at":"2026-11-03T03:08:10.95725Z"}],"ghsa":[{"id":"GHSA-7q9r-vhg2-789w","title":"Stored XSS vulnerability in Jenkins brakeman Plugin","description":"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.","status":"published","published":"2022-05-24T17:08:47Z","modified":"2023-01-30T05:03:45Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:28.424013Z"}],"nvd":[{"id":"CVE-2020-2122","description":"Jenkins 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 exploitable by users able to control the Brakeman post-build step input data.","status":"published","published":"2020-02-12T15:15:13.743Z","modified":"2026-06-17T03:11:48.017Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:05:53.837808Z"}],"osv":[{"id":"CVE-2020-2122","description":"Jenkins 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 exploitable by users able to control the Brakeman post-build step input data.","status":"published","published":"2020-02-12T15:15:13.743Z","modified":"2026-10-24T10:31:04.360438225Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:15.212689Z"},{"id":"GHSA-7q9r-vhg2-789w","title":"Stored XSS vulnerability in Jenkins brakeman Plugin","description":"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.","status":"published","published":"2022-05-24T17:08:47Z","modified":"2023-11-08T04:02:51.233565Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:41.349637Z"}]}}
