{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:avohq:avo:*:*:*:*:*:ruby:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.47.0"
              },
              {
                "introduced": "3.0.2"
              },
              {
                "fixed": "3.3.0"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "92a8165740969d4e0d8704ab788c25215ce40bd9"
            },
            {
              "introduced": "bcad0356e538c28f77270c47cbd7ef0f261cf311"
            },
            {
              "fixed": "2ebe13a7f14be423d5808508cd0491a457b0bc1b"
            },
            {
              "fixed": "51bb80b181cd8e31744bdc4e7f9b501c81172347"
            },
            {
              "fixed": "fc92a05a8556b1787c8694643286a1afa6a71258"
            }
          ],
          "repo": "https://github.com/avo-hq/avo",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-g8vp-2v5p-9qfh"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/22xxx/CVE-2024-22411.json"
  },
  "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 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.",
  "id": "CVE-2024-22411",
  "modified": "2026-08-12T03:51:32.496037186Z",
  "published": "2024-01-16T21:57:44.824Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/avo-hq/avo/releases/tag/v2.47.0"
    },
    {
      "type": "WEB",
      "url": "https://github.com/avo-hq/avo/releases/tag/v3.3.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/22xxx/CVE-2024-22411.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/avo-hq/avo/security/advisories/GHSA-g8vp-2v5p-9qfh"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-22411"
    },
    {
      "type": "FIX",
      "url": "https://github.com/avo-hq/avo/commit/51bb80b181cd8e31744bdc4e7f9b501c81172347"
    },
    {
      "type": "FIX",
      "url": "https://github.com/avo-hq/avo/commit/fc92a05a8556b1787c8694643286a1afa6a71258"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Cross site scripting in Action messages on Avo"
}