{"id":"CVE-2024-32464","aliases":["CVE-2024-32464","GHSA-prjp-h48f-jgf6","BIT-RAILS-2024-32464"],"related":[],"kind":"vulnerability","state":"published","title":"ActionText ContentAttachment can Contain Unsanitized HTML","summary":"Action Text brings rich text content and editing to Rails. Instances of ActionText::Attachable::ContentAttachment included within a rich_text_area tag could potentially contain unsanitized HTML. This vulnerability is fixed in 7.1.3.4 and 7.2.0.beta2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Action Text brings rich text content and editing to Rails. Instances of ActionText::Attachable::ContentAttachment included within a rich_text_area tag could potentially contain unsanitized HTML. This vulnerability is fixed in 7.1.3.4 and 7.2.0.beta2.","source":"cvelist"},{"lang":"en","text":"Instances of ActionText::Attachable::ContentAttachment included within a rich_text_area tag could potentially contain unsanitized HTML.\n\nThis has been assigned the CVE identifier CVE-2024-32464.\n\n\nVersions Affected:  >= 7.1.0\nNot affected:       < 7.1.0\nFixed Versions:     7.1.3.4\n\nImpact\n------\nThis could lead to a potential cross site scripting issue within the Trix editor.\n\nReleases\n--------\nThe fixed releases are available at the normal locations.\n\nWorkarounds\n-----------\nN/A\n\nPatches\n-------\nTo aid users who aren't able to upgrade immediately we have provided patches for the supported release series in accordance with our [maintenance policy](https://guides.rubyonrails.org/maintenance_policy.html#security-issues) regarding security issues. They are in git-am format and consist of a single changeset.\n\n* action_text_content_attachment_xss_7_1_stable.patch - Patch for 7.1 series\n\n\n\nCredits\n-------\n\nThank you [ooooooo_q](https://hackerone.com/ooooooo_q) for reporting this!","format":"markdown","source":"ghsa"},{"lang":"es","text":"Action Text trae contenido de texto enriquecido y edición a Rails. Las instancias de ActionText::Attachable::ContentAttachment incluidas dentro de una etiqueta rich_text_area podrían contener HTML no sanitizado. Esta vulnerabilidad se solucionó en 7.1.3.4 y 7.2.0.beta2.","source":"nvd"}],"published":"2024-06-04T19:53:59.774Z","modified":"2026-09-10T03:50:15.800Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-79","CWE-80"],"affected":[{"ranges":[{"version":">= 7.1.0, < 7.1.3.4","status":"affected"},{"version":"= 7.2.0.beta1","status":"affected"}],"vendor":"rails","product":"rails","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"7.1.0","status":"affected","fixed":"7.1.3.4"}],"ecosystem":"RubyGems","package":"actiontext","purl":"pkg:gem/actiontext","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"7.2.0.beta1","status":"affected","fixed":"7.2.0.beta2"}],"ecosystem":"RubyGems","package":"actiontext","purl":"pkg:gem/actiontext","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"7.1.0","fixed":"7.1.3.4"},{"status":"affected","version":"7.2.0"}],"vendor":"rubyonrails","product":"rails","cpe":"cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"7.1.0","status":"affected","fixed":"7.1.4"}],"ecosystem":"Bitnami","package":"rails","purl":"pkg:bitnami/rails","source":"bitnami"}],"references":[{"url":"https://github.com/rails/rails/security/advisories/GHSA-prjp-h48f-jgf6","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/rails/rails/commit/e215bf3360e6dfe1497c1503a495e384ed6b0995","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-32464","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/rails/rails","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actiontext/CVE-2024-32464.yml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-07-31T19:54:13.843Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-32464","url":"https://www.cve.org/CVERecord?id=CVE-2024-32464","licence":"CVE Terms of Use","modified":"2024-08-02T02:13:39.964Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-prjp-h48f-jgf6","url":"https://github.com/advisories/GHSA-prjp-h48f-jgf6","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:15.800Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-32464","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-32464","licence":"Public domain","modified":"2026-06-17T07:29:40.867Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-RAILS-2024-32464","url":"https://osv.dev/vulnerability/BIT-RAILS-2024-32464","licence":"Apache-2.0","modified":"2025-05-20T10:02:07.006Z"}],"updatedAt":"2026-11-25T22:58:41.431Z","epss":{"score":0.00434,"percentile":0.39442,"date":"2026-12-01T12:00:22.000Z"}}