Advisory

GHSA-g8vp-2v5p-9qfh

Also known as: CVE-2024-22411

Summary

Cross-site scripting (XSS) in Action messages on Avo

Details

Avo is a framework to create admin panels for Ruby on Rails apps. In Avo 3 pre12, any HTML inside text that is passed to error or succeed in an Avo::BaseAction subclass will be rendered directly without sanitization in the toast/notification that appears in the UI on Action completion. A malicious user could exploit this vulnerability to trigger a cross site scripting attack on an unsuspecting user. This issue has been addressed in the 3.3.0 and 2.47.0 releases of Avo. Users are advised to upgrade.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-01-17 22:34 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

avo

RubyGems · All systems

Affected

  • introduced 3.0.0.beta1, fixed 3.3.0 (ecosystem)

Fixed versions

3.3.0

Fix

The export has no generic command for this ecosystem.

avo

RubyGems · All systems

Affected

  • introduced 0, fixed 2.47.0 (ecosystem)

Fixed versions

2.47.0

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