{"id":"GHSA-prjp-h48f-jgf6","summary":"ActionText ContentAttachment can Contain Unsanitized HTML","details":"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:  \u003e= 7.1.0\nNot affected:       \u003c 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!","aliases":["BIT-rails-2024-32464","CVE-2024-32464"],"modified":"2026-09-10T03:50:15.800773303Z","published":"2024-06-04T22:26:22Z","database_specific":{"cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2024-06-04T22:26:22Z","nvd_published_at":"2024-06-04T20:15:11Z"},"references":[{"type":"WEB","url":"https://github.com/rails/rails/security/advisories/GHSA-prjp-h48f-jgf6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-32464"},{"type":"WEB","url":"https://github.com/rails/rails/commit/e215bf3360e6dfe1497c1503a495e384ed6b0995"},{"type":"PACKAGE","url":"https://github.com/rails/rails"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actiontext/CVE-2024-32464.yml"}],"affected":[{"package":{"name":"actiontext","ecosystem":"RubyGems","purl":"pkg:gem/actiontext"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.1.0"},{"fixed":"7.1.3.4"}]}],"versions":["7.1.0","7.1.1","7.1.2","7.1.3","7.1.3.1","7.1.3.2","7.1.3.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/06/GHSA-prjp-h48f-jgf6/GHSA-prjp-h48f-jgf6.json"}},{"package":{"name":"actiontext","ecosystem":"RubyGems","purl":"pkg:gem/actiontext"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.2.0.beta1"},{"fixed":"7.2.0.beta2"}]}],"versions":["7.2.0.beta1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/06/GHSA-prjp-h48f-jgf6/GHSA-prjp-h48f-jgf6.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"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"}]}