CVE-2023-28362 json
Actionpack has possible cross-site scripting vulnerability via User Supplied Values to redirect_to
published 2023-06-29 3 y ago modified 2026-06-17 4 mo ago also GHSA-4g8v-vg43-wpgf , EUVD-2023-1687
- cvss
- 4.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 26%
- public exploits
- 0
- none known
Summary
The redirect_to method in Rails allows provided values to contain characters which are not legal in an HTTP header value. This results in the potential for downstream services which enforce RFC compliance on HTTP response headers to remove the assigned Location header.
Patch / fix
- rubygems actionpack 6.1.7.4, 7.0.5.1
- rails Debian 12 2:6.1.7.10+dfsg-1~deb12u1
- rails Debian 14, Debian 13 2:7.2.2.1+dfsg-1
debian advisories DEBIAN-CVE-2023-28362
- foreman satellite utils 6.14, satellite capsule 6.14, satellite 6.14 3.7.0.10-1.el8sat
- satellite satellite utils 6.14, satellite capsule 6.14, satellite 6.14 6.14.1-1.el8sat
- foreman-cli satellite utils 6.14, satellite 6.14 3.7.0.10-1.el8sat
- foreman-ec2 satellite 6.14 3.7.0.10-1.el8sat
- createrepo_c satellite capsule 6.14, satellite 6.14 1.0.2-2.el8pc
- foreman-ovirt satellite 6.14 3.7.0.10-1.el8sat
- foreman-redis satellite 6.14 3.7.0.10-1.el8sat
- rubygem-rails satellite 6.14 6.1.7.4-1.el8sat
red hat advisories RHSA-2023:7851
- rubygem-actionpack-4_2 OpenStack Cloud Crowbar 9, OpenStack Cloud Crowbar 8 4.2.9-7.18.1
- rubygem-actionpack-5_1 SLE High Availability Extension 15 SP5, SLE High Availability Extension 15 SP4, SLE High Availability Extension 15 SP3 +4 more 5.1.4-150000.3.18.1
suse advisories SUSE-SU-2023:3255-1SUSE-SU-2023:3229-1
- github.com/rails/rails@1c3f93d commit
- github.com/rails/rails@69e37c8 commit
- github.com/rails/rails@c9ab9b3 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-28362 updated cvss 4.7
actionpack: Possible XSS via User Supplied Values to redirect_to
-
Red Hat 3scale API Management Platform 2 3scale-amp2/zync-rhel8, 3scale-amp2/system-rhel7affected: no fix available, no fix planned “Will not fix”
-
Red Hat Satellite 6.14 for RHEL 8 rubygem-actionpack 6.1.7.4-1.el8satfixed: vendor fix RHSA-2023:7851
-
Red Hat Satellite 6.14 for RHEL 8 foreman 3.7.0.10-1.el8sat, satellite 6.14.1-1.el8sat, createrepo_c 1.0.2-2.el8pc, foreman-cli 3.7.0.10-1.el8sat, foreman-ec2 3.7.0.10-1.el8sat, satellite-cli 6.14.1-1.el8sat, +46 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 21 mo ago
Exploit prediction
0.33% chance of exploitation in the next 30 days, higher than 26% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 4.0 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| CNA | 3.1 | 4.0 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| GitHub | 3.1 | 4.0 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | actionpack | <6.1.7.4 >=7.0.0, <7.0.5.1 |
6.1.7.4 7.0.5.1 |
Affected products
- Rails Action Pack
Classification
- Weakness
-
- CWE-116 Improper Encoding or Escaping of Output
- Technology feeds
References
-
github.com
/rails/rails/commit/1c3f93d1e90a3475f9ae2377ead25ccf11f71441
web
-
github.com
/rails/rails/commit/69e37c84e3f77d75566424c7d0015172d6a6fac5
web
-
github.com
/rails/rails/commit/c9ab9b32bcdcfd8bcd55907f6c7b20b4e004cc23
web
-
discuss.rubyonrails.org
/t/cve-2023-28362-possible-xss-via-user-supplied-values-to-redirect-to/83132
web
- github.com /advisories/GHSA-4g8v-vg43-wpgf
- security.netapp.com /advisory/ntap-20250502-0009/
-
nvd.nist.gov
/vuln/detail/CVE-2023-28362
advisory
-
github.com
/rails/rails
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2023-28362.yml
web
-
security.netapp.com
/advisory/ntap-20250502-0009
web
Sources
- CVE List CVE-2023-28362
- GitHub Advisory GHSA-4g8v-vg43-wpgf
- NVD CVE-2023-28362
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.