{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-22411","id":"CVE-2024-22411","title":"Cross site scripting in Action messages on Avo","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 unsuspecti","descriptionLong":"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.","published":"2024-01-16T21:57:44.824Z","updated":"2026-10-28T02:30:56.025799349Z","reserved":"2024-01-10T15:09:55.550Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","rating":"medium","source":"github.com"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","rating":"medium","source":"GitHub"}],"rating":"medium","products":["avo-hq avo"],"affectedProducts":[{"vendor":"avo-hq","product":"avo","defaultStatus":null,"versions":[{"version":">= 3.0.0.beta1, < 3.3.0","status":"affected"},{"version":"< 2.47.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"avo","purl":"pkg:gem/avo","ranges":[">=3.0.0.beta1 <3.3.0","<2.47.0"],"fixed":["3.3.0","2.47.0"],"advisory":"GHSA-g8vp-2v5p-9qfh"}],"cwes":["CWE-79"],"aliases":["GHSA-g8vp-2v5p-9qfh"],"references":[{"url":"https://github.com/avo-hq/avo/security/advisories/GHSA-g8vp-2v5p-9qfh","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/avo-hq/avo/commit/51bb80b181cd8e31744bdc4e7f9b501c81172347","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/avo-hq/avo/commit/fc92a05a8556b1787c8694643286a1afa6a71258","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/avo-hq/avo/releases/tag/v2.47.0","tags":["x_refsource_MISC","x_transferred","Release Notes","web"]},{"url":"https://github.com/avo-hq/avo/releases/tag/v3.3.0","tags":["x_refsource_MISC","x_transferred","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/22xxx/CVE-2024-22411.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22411","tags":["advisory"]},{"url":"https://github.com/avo-hq/avo","tags":["package"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/avo/CVE-2024-22411.yml","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.0071,"epssPercentile":0.54301,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-22411","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22411","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-22411","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-g8vp-2v5p-9qfh","ok":true,"note":"GHSA-g8vp-2v5p-9qfh"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-22411","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}