cve/2024/CVE-2024-22411.md

19 lines
1.2 KiB
Markdown
Raw Permalink Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2024-22411](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-22411)
![](https://img.shields.io/static/v1?label=Product&message=avo&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3E%3D%203.0.0.beta1%2C%20%3C%203.3.0%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%3A%20Improper%20Neutralization%20of%20Input%20During%20Web%20Page%20Generation%20('Cross-site%20Scripting')&color=brighgreen)
### 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.
### POC
#### Reference
- https://github.com/avo-hq/avo/security/advisories/GHSA-g8vp-2v5p-9qfh
#### Github
- https://github.com/nomi-sec/PoC-in-GitHub
- https://github.com/tamaloa/avo-CVE-2024-22411