{"id":"CVE-2020-11082","aliases":["DEBIAN-CVE-2020-11082","DLA-2763-1","DSA-5005-1","EUVD-2020-0441","GHSA-r5jw-62xg-j433","UBUNTU-CVE-2020-11082"],"status":"published","title":"Cross-Site Scripting in Kaminari","description":"In Kaminari before 1.2.1, there is a vulnerability that would allow an attacker to inject arbitrary code into pages with pagination links. This has been fixed in 1.2.1.","severity":{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.01546,"percentile":0.75175,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2020-05-28T21:10:11Z","modified":"2026-10-26T12:01:19Z","fixes":[{"ecosystem":"RubyGems","package":"kaminari","fixed_in":["1.2.1"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"ruby-kaminari","fixed_in":["1.0.1-6"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"ruby-kaminari","fixed_in":["1.0.1-6"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"ruby-kaminari","fixed_in":["1.0.1-6"],"sources":["osv"]},{"ecosystem":"Debian:9","package":"ruby-kaminari","fixed_in":["0.17.0-3+deb9u1"],"sources":["osv"]},{"ecosystem":"Debian:10","package":"ruby-kaminari","fixed_in":["1.0.1-4+deb10u1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"kaminari","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"ruby-kaminari","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.1-6"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"ruby-kaminari","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.1-6"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"ruby-kaminari","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.1-6"}]}]},{"source":"osv","ecosystem":"Debian:9","package":"ruby-kaminari","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.17.0-3+deb9u1"}]}],"versions":["0.17.0-3"]},{"source":"osv","ecosystem":"Debian:10","package":"ruby-kaminari","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.1-4+deb10u1"}]}],"versions":["1.0.1-4"]},{"source":"osv","ecosystem":"RubyGems","package":"kaminari","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.1"}]}],"versions":["0.1.0","0.10.0","0.10.1","0.10.2","0.10.3","0.10.4","0.11.0","0.12.0","0.12.1","0.12.2","0.12.3","0.12.4","0.13.0","0.14.0","0.14.1","0.15.0","0.15.1","0.16.0","0.16.1","0.16.2","0.16.3","0.17.0","0.2.0","0.2.1","0.3.0","0.4.0","0.5.0","0.6.0","0.6.1","0.7.0","0.8.0","0.9.0","0.9.1","0.9.10","0.9.12","0.9.13","0.9.2","0.9.3","0.9.4","0.9.5","0.9.6","0.9.7","0.9.8","0.9.9","1.0.0","1.0.0.beta2","1.0.0.rc1","1.0.1","1.1.0","1.1.1","1.2.0"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"ruby-kaminari","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.16.3-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"ruby-kaminari","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.17.0-3"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"ruby-kaminari","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.1-4","1.0.1-5"]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"kaminari","product":"kaminari"},{"vendor":"kaminari_project","product":"kaminari"}],"references":[{"url":"https://github.com/kaminari/kaminari/security/advisories/GHSA-r5jw-62xg-j433","tags":["x_refsource_CONFIRM","x_transferred","Mitigation","Third Party Advisory","advisory","web","report"]},{"url":"https://github.com/github/advisory-review/pull/1020","tags":["x_refsource_MISC","x_transferred","Broken Link","fix","web","report"]},{"url":"https://github.com/kaminari/kaminari/commit/8dd52a1aed3d2fa2835d836de23fc0d8c4ff5db8","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/09/msg00011.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://www.debian.org/security/2021/dsa-5005","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-11082","tags":["advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/kaminari/CVE-2020-11082.yml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-r5jw-62xg-j433"},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-11082","tags":["advisory"]},{"url":"https://github.com/kaminari/kaminari","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2020-11082","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-11082","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-11082","title":"Cross-Site Scripting in Kaminari","description":"In Kaminari before 1.2.1, there is a vulnerability that would allow an attacker to inject arbitrary code into pages with pagination links. This has been fixed in 1.2.1.","status":"published","published":"2020-05-28T21:10:12Z","modified":"2024-08-04T11:21:14.622Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:35:57.352161Z"}],"euvd":[{"id":"EUVD-2020-0441","description":"In Kaminari before 1.2.1, there is a vulnerability that would allow an attacker to inject arbitrary code into pages with pagination links. This has been fixed in 1.2.1.","status":"published","published":"2020-05-28T21:10:12Z","modified":"2024-08-04T11:21:14Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:L","level":"medium"}],"updated_at":"2026-11-03T03:07:48.03567Z"}],"ghsa":[{"id":"GHSA-r5jw-62xg-j433","title":"Cross-Site Scripting in Kaminari","description":"### Impact\nIn Kaminari before 1.2.1, there is a vulnerability that would allow an attacker to inject arbitrary code into pages with pagination links. This has been fixed in 1.2.1.\n\n### Releases\nThe 1.2.1 gem including the patch has already been released.\nAll past released versions are affected by this vulnerability.\n\n### Workarounds\nApplication developers who can't update the gem can workaround by overriding the `PARAM_KEY_EXCEPT_LIST` constant.\n\n```ruby\nmodule Kaminari::Helpers\n  PARAM_KEY_EXCEPT_LIST = [:authenticity_token, :commit, :utf8, :_method, :script_name, :original_script_name].freeze\nend\n```\n\n### Credits\nThanks to Daniel Mircea for finding the issue and sending a patch via GitHub. Also thanks to Aditya Prakash for reporting the vulnerability.","status":"published","published":"2020-05-28T21:10:11Z","modified":"2023-05-04T19:29:51Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:L","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:52.310293Z"}],"nvd":[{"id":"CVE-2020-11082","description":"In Kaminari before 1.2.1, there is a vulnerability that would allow an attacker to inject arbitrary code into pages with pagination links. This has been fixed in 1.2.1.","status":"published","published":"2020-05-28T21:15:11.437Z","modified":"2026-06-17T02:49:00.82Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:L","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:06:04.922138Z"}],"osv":[{"id":"CVE-2020-11082","description":"In Kaminari before 1.2.1, there is a vulnerability that would allow an attacker to inject arbitrary code into pages with pagination links. This has been fixed in 1.2.1.","status":"published","published":"2020-05-28T21:15:11.437Z","modified":"2026-10-20T10:51:46.156509806Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:13.492058Z"},{"id":"DEBIAN-CVE-2020-11082","description":"In Kaminari before 1.2.1, there is a vulnerability that would allow an attacker to inject arbitrary code into pages with pagination links. This has been fixed in 1.2.1.","status":"published","published":"2020-05-28T21:15:11.437Z","modified":"2026-10-26T12:01:19.889994977Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:32.862554Z"},{"id":"GHSA-r5jw-62xg-j433","title":"Cross-Site Scripting in Kaminari","description":"### Impact\nIn Kaminari before 1.2.1, there is a vulnerability that would allow an attacker to inject arbitrary code into pages with pagination links. This has been fixed in 1.2.1.\n\n### Releases\nThe 1.2.1 gem including the patch has already been released.\nAll past released versions are affected by this vulnerability.\n\n### Workarounds\nApplication developers who can't update the gem can workaround by overriding the `PARAM_KEY_EXCEPT_LIST` constant.\n\n```ruby\nmodule Kaminari::Helpers\n  PARAM_KEY_EXCEPT_LIST = [:authenticity_token, :commit, :utf8, :_method, :script_name, :original_script_name].freeze\nend\n```\n\n### Credits\nThanks to Daniel Mircea for finding the issue and sending a patch via GitHub. Also thanks to Aditya Prakash for reporting the vulnerability.","status":"published","published":"2020-05-28T21:10:11Z","modified":"2026-09-10T03:48:45.915321761Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:L","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:55.480549Z"},{"id":"UBUNTU-CVE-2020-11082","description":"In Kaminari before 1.2.1, there is a vulnerability that would allow an attacker to inject arbitrary code into pages with pagination links. This has been fixed in 1.2.1.","status":"published","published":"2020-05-28T21:15:00Z","modified":"2025-10-24T04:48:24Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:L","level":"medium"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:22.212782Z"},{"id":"DLA-2763-1","title":"ruby-kaminari - security update","status":"published","published":"2021-09-22T00:00:00Z","modified":"2026-03-09T01:22:11.361918Z","updated_at":"2026-11-02T15:46:11.189256Z"},{"id":"DSA-5005-1","title":"ruby-kaminari - security update","status":"published","published":"2021-11-10T00:00:00Z","modified":"2026-03-09T02:10:35.355744Z","updated_at":"2026-11-02T15:46:17.543497Z"}]}}
