CVE-2023-28120
MEDIUM 5.3CVSS 3.1Possible XSS Security Vulnerability in SafeBuffer#bytesplice
There is a vulnerability in ActiveSupport if the new bytesplice method is called on a SafeBuffer with untrusted user input.
- Published
- 9 Jan 2025
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Deferred
- Weakness
- CWE-79
- Also known as
- GHSA-pj73-v5mw-pm9j
- Sources
- NVDJSONOSV GHSA-pj73-v5mw-pm9jJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | RubyGems | activesupport | >= 7.0.0, < 7.0.4.3 | 7.0.4.3 |
| OSV | RubyGems | activesupport | < 6.1.7.3 | 6.1.7.3 |
References
- https://discuss.rubyonrails.org/t/cve-2023-28120-possible-xss-security-vulnerability-in-safebuffer-bytesplice/82469 · WEB
- https://github.com/rails/rails/commit/3cf23c3f891e2e81c977ea4ab83b62bc2a444b70 · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UPV6PVCX4VDJHLFFT42EXBBSGAWZICOW/ · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZE5W4MH6IE4DV7GELDK6ISCSTFLHKSYO/ · WEB
- https://security.netapp.com/advisory/ntap-20240202-0006/ · WEB
- https://www.debian.org/security/2023/dsa-5389 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-28120 · ADVISORY
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activesupport/CVE-2023-28120.yml · WEB
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 9 Jan 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Mar 2023)