CVE-2024-22411
MEDIUM6.5EPSS 5.8%Cross-site scripting (XSS) in Action messages on Avo
Published: 1/17/2024Modified: 2/16/2024
Also known as:GHSA-g8vp-2v5p-9qfh
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 packages (1)
- RubyGems/avo>= 3.0.0.beta1, < 3.3.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L |
References (8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-22411
- PATCHhttps://github.com/avo-hq/avo
- WEBhttps://github.com/avo-hq/avo/commit/51bb80b181cd8e31744bdc4e7f9b501c81172347
- WEBhttps://github.com/avo-hq/avo/commit/fc92a05a8556b1787c8694643286a1afa6a71258
- WEBhttps://github.com/avo-hq/avo/releases/tag/v2.47.0
- WEBhttps://github.com/avo-hq/avo/releases/tag/v3.3.0
- WEBhttps://github.com/avo-hq/avo/security/advisories/GHSA-g8vp-2v5p-9qfh
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/avo/CVE-2024-22411.yml