Home / Rails / ActiveSupport / CVE-2023-28120
CVE-2023-28120: is it exploited, and which versions of Rails ActiveSupport are affected and fixed?
CVE-2023-28120 is a cross-site scripting (XSS) vulnerability in Rails ActiveSupport. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: activesupport from 7.0.0 before 7.0.4.3 and activesupport before 6.1.7.3 (GitHub advisory GHSA-pj73-v5mw-pm9j). Fixed in 7.0.4.3 and 6.1.7.3 (GitHub advisory GHSA-pj73-v5mw-pm9j). Severity: Medium (5.3, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:23 UTC.
What is CVE-2023-28120?
There is a vulnerability in ActiveSupport if the new bytesplice method is called on a SafeBuffer with untrusted user input.
From the CVE record by hackerone, last updated January 9, 2025, 21:46 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Rails | ActiveSupport | from 7.0.4.3 before 7.0.4.3 from 6.1.7.3 before 6.1.7.3 | 7.0.4.3, 6.1.7.3 |
As the CVE record by hackerone states it, last updated January 9, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | activesupport | >= 7.0.0, < 7.0.4.3 | 7.0.4.3 | GHSA-pj73-v5mw-pm9j |
| RubyGems | activesupport | < 6.1.7.3 | 6.1.7.3 | GHSA-pj73-v5mw-pm9j |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 10, 2025. Summary: Possible XSS Security Vulnerability in SafeBuffer#bytesplice.
How severe is CVE-2023-28120?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-28120 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, January 9, 2025)
- EPSS
- 0.95% probability of exploitation activity in the next 30 days, percentile 62.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://discuss.rubyonrails.org/t/cve-2023-28120-possible-xss-security-vulnerability-in-safebuffer-bytesplice/82469
- https://github.com/rails/rails/commit/3cf23c3f891e2e81c977ea4ab83b62bc2a444b70
- https://lists.fedoraproject.org/archives/list/[email protected]/message/UPV6PVCX4VDJHLFFT42EXBBSGAWZICOW/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ZE5W4MH6IE4DV7GELDK6ISCSTFLHKSYO/
- https://security.netapp.com/advisory/ntap-20240202-0006/
- https://www.debian.org/security/2023/dsa-5389
When was it published, and where is the official record?
- Reserved
- March 10, 2023
- Published
- January 9, 2025, 00:33 UTC
- CVE record updated
- January 9, 2025, 21:46 UTC by hackerone
- NVD
- Deferred, last modified June 17, 2026, 05:46 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:23 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect ActiveSupport?
- Mar 23, 2026CVE-2026-33176 rails activesupport: denial of service (uncontrolled resource consumption)
- Mar 23, 2026CVE-2026-33170 rails activesupport: cross-site scripting (XSS)
- Mar 23, 2026CVE-2026-33169 rails activesupport: denial of service (uncontrolled resource consumption)
- Jan 9, 2025CVE-2023-38037 Rails ActiveSupport: incorrect permissions on a critical resource
Questions about CVE-2023-28120
Is CVE-2023-28120 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 0.95% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Rails ActiveSupport are affected by CVE-2023-28120?
activesupport from 7.0.0 before 7.0.4.3 and activesupport before 6.1.7.3, per the GitHub advisory GHSA-pj73-v5mw-pm9j. The tables above give every range the sources list.
Which version fixes CVE-2023-28120?
7.0.4.3 and 6.1.7.3, per the GitHub advisory GHSA-pj73-v5mw-pm9j. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-28120?
Medium (5.3, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2023-28120?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.