Skip to content
OpenAdvisories
Medium · 6.5 Public exploit CVE-2024-22411 EUVD-2024-0353GHSA-g8vp-2v5p-9qfh

Cross site scripting in Action messages on Avo

Published Jan 16, 2024 · Updated Jun 2, 2025 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
avo-hq avo >= 3.0.0.beta1, < 3.3.0, < 2.47.0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems avo >= 3.0.0.beta1, < 3.3.0 3.3.0 GHSA-g8vp-2v5p-9qfh
RubyGems avo < 2.47.0 2.47.0 GHSA-g8vp-2v5p-9qfh

References