Advisory

GHSA-prjp-h48f-jgf6

Also known as: BIT-rails-2024-32464, CVE-2024-32464

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.

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!

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-06-04 22:26 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

actiontext

RubyGems · All systems

Affected

  • introduced 7.1.0, fixed 7.1.3.4 (ecosystem)

Fixed versions

7.1.3.4

Fix

The export has no generic command for this ecosystem.

actiontext

RubyGems · All systems

Affected

  • introduced 7.2.0.beta1, fixed 7.2.0.beta2 (ecosystem)

Fixed versions

7.2.0.beta2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences