CVE-2024-22411 — Cross-site scripting (XSS) in avo — CVE Details
Cross-site scripting (XSS) in Action messages on Avo
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.81%). Schedule for your next planned update.
Does your project use an affected avo version?
Paste your Gemfile.lock to check it for CVE-2024-22411 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published January 17, 2024 (1044 days ago).
- Last revised September 10, 2026 — 966 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install avo -v 2.47.0
gem install avo -v 3.3.0
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: RubyGems (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-79Cross-site Scripting (XSS)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
References
- https://github.com/avo-hq/avo/security/advisories/GHSA-g8vp-2v5p-9qfhWEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-22411ADVISORY
- https://github.com/avo-hq/avo/commit/51bb80b181cd8e31744bdc4e7f9b501c81172347WEB
- https://github.com/avo-hq/avo/commit/fc92a05a8556b1787c8694643286a1afa6a71258WEB
- https://github.com/avo-hq/avoPACKAGE
- https://github.com/avo-hq/avo/releases/tag/v2.47.0WEB
- https://github.com/avo-hq/avo/releases/tag/v3.3.0WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/avo/CVE-2024-22411.ymlWEB
Frequently Asked Questions
- What is CVE-2024-22411?
- Cross-site scripting (XSS) in Action messages on Avo. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.5/10).
- How do I check if my project is affected by CVE-2024-22411?
- CVE-2024-22411 affects avo. It has a 0.8% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-22411 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This is an above-median EPSS score — 53.6% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-55518CRITICAL
Avo: Missing Authorization in Avo Association Attach Endpoint Allows Unauthorized Relationship Manipulation and Privilege Escalation
- CVE-2023-34103HIGH
avo vulnerable to Stored XSS (Cross Site Scripting) in html content based fields
- CVE-2023-34102HIGH
avo possible unsafe reflection / partial DoS vulnerability
- CVE-2024-22191HIGH
avo vulnerable to stored cross-site scripting (XSS) in key_value field
- CVE-2026-42205HIGH
Avo: Broken Access Control Through Unauthorized Execution of Arbitrary Action Classes Across Resources
- CVE-2026-33209MEDIUM
Avo has a XSS vulnerability on `return_to` param
- CVE-2026-115472MEDIUM
Doorkeeper: When using public clients, any client can revoke any access token
- CVE-2026-53769MEDIUM
Avo: Direct attachment upload endpoint lacks upload authorization and bypasses field-level upload policy