{"id":"CVE-2022-25207","aliases":["EUVD-2022-1252","GHSA-x92v-xv3x-9v29"],"status":"published","title":"CSRF vulnerability in Jenkins Chef Sinatra Plugin allow XXE","description":"A cross-site request forgery (CSRF) vulnerability in Jenkins Chef Sinatra Plugin 1.20 and earlier allows attackers to have Jenkins send an HTTP request to an attacker-controlled URL and have it parse an XML response.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00717,"percentile":0.54108,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-352"],"published":"2022-02-15T16:11:43Z","modified":"2026-10-24T10:30:26Z","affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.jenkins-ci.plugins:sinatra-chef-builder","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.20"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.jenkins-ci.plugins:sinatra-chef-builder","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.20"}]}],"versions":["1.14","1.15","1.20","1.3"]}],"products":[{"vendor":"jenkins","product":"chef_sinatra"},{"vendor":"jenkins project","product":"jenkins chef sinatra plugin"}],"references":[{"url":"https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-1377","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2022/02/15/2","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25207","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-x92v-xv3x-9v29"},{"url":"https://github.com/jenkinsci/sinatra-chef-builder-plugin","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-25207","description":"A cross-site request forgery (CSRF) vulnerability in Jenkins Chef Sinatra Plugin 1.20 and earlier allows attackers to have Jenkins send an HTTP request to an attacker-controlled URL and have it parse an XML response.","status":"published","published":"2022-02-15T16:11:43Z","modified":"2024-08-03T04:36:06.608Z","updated_at":"2026-11-02T14:34:28.374916Z"}],"euvd":[{"id":"EUVD-2022-1252","description":"A cross-site request forgery (CSRF) vulnerability in Jenkins Chef Sinatra Plugin 1.20 and earlier allows attackers to have Jenkins send an HTTP request to an attacker-controlled URL and have it parse an XML response.","status":"published","published":"2022-02-15T16:11:43Z","modified":"2024-08-03T04:36:06Z","updated_at":"2026-11-03T03:25:48.011319Z"}],"ghsa":[{"id":"GHSA-x92v-xv3x-9v29","title":"CSRF vulnerability in Jenkins Chef Sinatra Plugin allow XXE","description":"Jenkins Chef Sinatra Plugin 1.20 and earlier does not perform a permission check in a method implementing form validation.\n\nThis allows attackers with Overall/Read permission to have Jenkins send an HTTP request to an attacker-controlled URL and have it parse the response as XML.\n\nAs the plugin does not configure its XML parser to prevent XML external entity (XXE) attacks, attackers can have Jenkins parse a crafted XML response that uses external entities for extraction of secrets from the Jenkins controller or server-side request forgery.\n\nAdditionally, this form validation method does not require POST requests, resulting in a cross-site request forgery (CSRF) vulnerability.","status":"published","published":"2022-02-16T00:01:15Z","modified":"2023-10-27T16:38:20Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:37:10.633403Z"}],"nvd":[{"id":"CVE-2022-25207","description":"A cross-site request forgery (CSRF) vulnerability in Jenkins Chef Sinatra Plugin 1.20 and earlier allows attackers to have Jenkins send an HTTP request to an attacker-controlled URL and have it parse an XML response.","status":"published","published":"2022-02-15T17:15:11.227Z","modified":"2026-06-17T04:33:12.433Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:07:12.155838Z"}],"osv":[{"id":"CVE-2022-25207","description":"A cross-site request forgery (CSRF) vulnerability in Jenkins Chef Sinatra Plugin 1.20 and earlier allows attackers to have Jenkins send an HTTP request to an attacker-controlled URL and have it parse an XML response.","status":"published","published":"2022-02-15T17:15:11.227Z","modified":"2026-10-24T10:30:26.28515712Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:24.428403Z"},{"id":"GHSA-x92v-xv3x-9v29","title":"CSRF vulnerability in Jenkins Chef Sinatra Plugin allow XXE","description":"Jenkins Chef Sinatra Plugin 1.20 and earlier does not perform a permission check in a method implementing form validation.\n\nThis allows attackers with Overall/Read permission to have Jenkins send an HTTP request to an attacker-controlled URL and have it parse the response as XML.\n\nAs the plugin does not configure its XML parser to prevent XML external entity (XXE) attacks, attackers can have Jenkins parse a crafted XML response that uses external entities for extraction of secrets from the Jenkins controller or server-side request forgery.\n\nAdditionally, this form validation method does not require POST requests, resulting in a cross-site request forgery (CSRF) vulnerability.","status":"published","published":"2022-02-16T00:01:15Z","modified":"2024-02-16T08:12:03.135127Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T15:46:59.835583Z"}]}}
