CVE-2024-22411 Cross site scripting in Action messages on Avo
Attackers can inject malicious scripts via unsanitized action messages in Avo admin panels, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-22411?
CVE-2024-22411 is a medium-severity cross-site scripting vulnerability in avo-hq avo, published on 16 Jan 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2024-22411?
4 open source packages ship an affected version, including avo. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
avo RubyGems | All versions | 2.47.0 |
avo RubyGems | All versions | 2.47.0 |
avo RubyGems | From 3.0.0.beta1 | 3.3.0 |
avo RubyGems | From 3.0.0.beta1 | 3.3.0 |
Products include Avohq Avo.
How do I fix CVE-2024-22411?
Upgrade avo to a fixed version for your release line: 2.47.0 or 3.3.0.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-22411 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-22411 exists.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in avo-hq avo
- CVE-2023-34102 Possible unsafe reflection / partial denial of service in avo
- CVE-2024-22191 Stored cross-site scripting (XSS) in `key_value` field in Avo
- CVE-2023-34103 Stored XSS (Cross Site Scripting) in html content based fields of avo
- CVE-2026-33209 Avo has a XSS vulnerability on `return_to` param
Sources
Also known as GHSA-g8vp-2v5p-9qfh.