{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-28120","id":"CVE-2023-28120","title":"Possible XSS Security Vulnerability in SafeBuffer#bytesplice","description":"There is a vulnerability in ActiveSupport if the new bytesplice method is called on a SafeBuffer with untrusted user input.","descriptionLong":"There is a vulnerability in ActiveSupport if the new bytesplice method is called on a SafeBuffer with untrusted user input.","published":"2025-01-09T00:33:47.658Z","updated":"2026-10-28T02:30:37.007195343Z","reserved":"2023-03-10T19:36:27.051Z","status":"Deferred","rejected":false,"assigner":"hackerone","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["Rails ActiveSupport"],"affectedProducts":[{"vendor":"Rails","product":"ActiveSupport","defaultStatus":"unaffected","versions":[{"version":"7.0.4.3","status":"affected","lessThan":"7.0.4.3","versionType":"custom"},{"version":"6.1.7.3","status":"affected","lessThan":"6.1.7.3","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"activesupport","purl":"pkg:gem/activesupport","ranges":[">=7.0.0 <7.0.4.3","<6.1.7.3"],"fixed":["7.0.4.3","6.1.7.3"],"advisory":"GHSA-pj73-v5mw-pm9j"}],"cwes":["CWE-79"],"aliases":["GHSA-pj73-v5mw-pm9j"],"references":[{"url":"https://discuss.rubyonrails.org/t/cve-2023-28120-possible-xss-security-vulnerability-in-safebuffer-bytesplice/82469","tags":["web"]},{"url":"https://github.com/rails/rails/commit/3cf23c3f891e2e81c977ea4ab83b62bc2a444b70","tags":["fix","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UPV6PVCX4VDJHLFFT42EXBBSGAWZICOW/","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZE5W4MH6IE4DV7GELDK6ISCSTFLHKSYO/","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20240202-0006/","tags":["advisory"]},{"url":"https://www.debian.org/security/2023/dsa-5389","tags":["advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/28xxx/CVE-2023-28120.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-28120","tags":["advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activesupport/CVE-2023-28120.yml","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UPV6PVCX4VDJHLFFT42EXBBSGAWZICOW","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZE5W4MH6IE4DV7GELDK6ISCSTFLHKSYO","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20240202-0006","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00948,"epssPercentile":0.61916,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-28120","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-28120","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-28120","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-pj73-v5mw-pm9j","ok":true,"note":"GHSA-pj73-v5mw-pm9j"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-28120","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["ruby"],"critical":[],"attention":null}