Stored cross-site scripting (XSS) in `key_value` field in Avo
Description
Avo is a framework to create admin panels for Ruby on Rails apps. A stored cross-site scripting (XSS) vulnerability was found in the key_value field of Avo v3.2.3 and v2.46.0. This vulnerability could allow an attacker to execute arbitrary JavaScript code in the victim's browser. The value of the key_value is inserted directly into the HTML code. In the current version of Avo (possibly also older versions), the value is not properly sanitized before it is inserted into the HTML code. This vulnerability could be used to steal sensitive information from victims that could be used to hijack victims' accounts or redirect them to malicious websites. Avo 3.2.4 and 2.47.0 include a fix for this issue. Users are advised to upgrade.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
avoRubyGems | >= 3.0.0.beta1, < 3.2.4 | 3.2.4 |
avoRubyGems | < 2.47.0 | 2.47.0 |
Affected products
2Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-ghjv-mh6x-7q6hghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-22191ghsaADVISORY
- github.com/avo-hq/avo/commit/51bb80b181cd8e31744bdc4e7f9b501c81172347ghsax_refsource_MISCWEB
- github.com/avo-hq/avo/commit/fc92a05a8556b1787c8694643286a1afa6a71258ghsax_refsource_MISCWEB
- github.com/avo-hq/avo/security/advisories/GHSA-ghjv-mh6x-7q6hghsax_refsource_CONFIRMWEB
- github.com/rubysec/ruby-advisory-db/blob/master/gems/avo/CVE-2024-22191.ymlghsaWEB
News mentions
0No linked articles in our index yet.