CVE-2024-22411: Cross-site scripting (XSS) in Action messages on Avo
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.
Published Jan 17, 2024 · Updated Jan 19, 2024
Affected packages
avo
- Ecosystem
- RubyGems
- Affected
- >= 3.0.0.beta1, < 3.3.0
- Fixed in
- 3.3.0
- Check
bundle info avo
avo
- Ecosystem
- RubyGems
- Affected
- < 2.47.0
- Fixed in
- 2.47.0
- Check
bundle info avo
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to stevegeek, tamaloa.
References
- https://github.com/avo-hq/avo/security/advisories/GHSA-g8vp-2v5p-9qfh
- https://nvd.nist.gov/vuln/detail/CVE-2024-22411
- https://github.com/avo-hq/avo/commit/51bb80b181cd8e31744bdc4e7f9b501c81172347
- https://github.com/avo-hq/avo/commit/fc92a05a8556b1787c8694643286a1afa6a71258
- https://github.com/avo-hq/avo/releases/tag/v2.47.0
- https://github.com/avo-hq/avo/releases/tag/v3.3.0
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/avo/CVE-2024-22411.yml
- https://github.com/advisories/GHSA-g8vp-2v5p-9qfh
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More RubyGems vulnerabilities
All RubyGems entriesCVE-2026-53769
Avo: Direct attachment upload endpoint lacks upload authorization and bypasses field-level upload policy
medium6.5Jul 9, 2026CVE-2026-55518
Avo: Missing Authorization in Avo Association Attach Endpoint Allows Unauthorized Relationship Manipulation and Privilege Escalation
critical9.6Jun 17, 2026CVE-2026-42205
Avo: Broken Access Control Through Unauthorized Execution of Arbitrary Action Classes Across Resources
high8.8Apr 24, 2026CVE-2026-33209
Avo has a XSS vulnerability on `return_to` param
medium5.3Mar 18, 2026CVE-2024-22191
avo vulnerable to stored cross-site scripting (XSS) in key_value field
high7.3Jan 16, 2024
