Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. actiontext
  4. ›
  5. CVE-2024-32464

CVE-2024-32464: ActionText ContentAttachment can Contain Unsanitized HTML

June 4, 2024

Instances of ActionText::Attachable::ContentAttachment included within a rich_text_area tag could potentially contain unsanitized HTML.

This has been assigned the CVE identifier CVE-2024-32464.

Versions Affected: >= 7.1.0 Not affected: < 7.1.0 Fixed Versions: 7.1.3.4

Impact

This could lead to a potential cross site scripting issue within the Trix editor.

Releases

The fixed releases are available at the normal locations.

Workarounds

N/A

Patches

To aid users who aren’t able to upgrade immediately we have provided patches for the supported release series in accordance with our maintenance policy regarding security issues. They are in git-am format and consist of a single changeset.

  • action_text_content_attachment_xss_7_1_stable.patch - Patch for 7.1 series

Credits

Thank you ooooooo_q for reporting this!

References

  • github.com/advisories/GHSA-prjp-h48f-jgf6
  • github.com/rails/rails
  • github.com/rails/rails/commit/e215bf3360e6dfe1497c1503a495e384ed6b0995
  • github.com/rails/rails/security/advisories/GHSA-prjp-h48f-jgf6
  • nvd.nist.gov/vuln/detail/CVE-2024-32464

Code Behaviors & Features

Detect and mitigate CVE-2024-32464 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 7.2.0.beta1 before 7.2.0.beta2, version 7.2.0.beta1, all versions starting from 7.1.0 before 7.1.3.4

Fixed versions

  • 7.1.3.4
  • 7.2.0.beta2

Solution

Upgrade to versions 7.1.3.4, 7.2.0.beta2 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

gem/actiontext/CVE-2024-32464.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:59 +0000.