CVE-2024-22411
Published: 16 January 2024
Summary
CVE-2024-22411 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Avohq Avo. Its CVSS base score is 6.5 (Medium).
Operationally, ranked in the top 9.3% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
CVE-2024-22411 is a cross-site scripting flaw in the Avo framework for building admin panels in Ruby on Rails applications. It occurs in Avo 3 pre12 and earlier releases when HTML supplied to the error or succeed methods of an Avo::BaseAction subclass is rendered directly into toast or notification elements without sanitization, corresponding to CWE-79.
An authenticated user with low privileges can supply crafted HTML through an action response, causing script execution in the browser of any user who views the resulting notification. The attack requires user interaction to trigger display of the notification and yields limited impacts on confidentiality, integrity, and availability under the reported CVSS 6.5 vector.
The GitHub security advisory GHSA-g8vp-2v5p-9qfh and associated release notes direct users to upgrade to Avo 3.3.0 or 2.47.0; the fixing commits sanitize the supplied text before rendering.
The EPSS score has remained flat at 0.0577 with no material rise after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-0353
Vulnerability details
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…
more
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.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.
Validates web inputs to reject script-related content that could produce XSS.
Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.