{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-22191",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2024-01-08T04:59:27.370Z",
        "datePublished": "2024-01-16T21:57:37.268Z",
        "dateUpdated": "2024-10-21T12:03:51.403Z"
    },
    "containers": {
        "cna": {
            "title": "Stored cross-site scripting (XSS) in `key_value` field in Avo",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-79",
                            "lang": "en",
                            "description": "CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 7.3,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "LOW",
                        "scope": "UNCHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/avo-hq/avo/security/advisories/GHSA-ghjv-mh6x-7q6h",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/avo-hq/avo/security/advisories/GHSA-ghjv-mh6x-7q6h"
                },
                {
                    "name": "https://github.com/avo-hq/avo/commit/51bb80b181cd8e31744bdc4e7f9b501c81172347",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/avo-hq/avo/commit/51bb80b181cd8e31744bdc4e7f9b501c81172347"
                },
                {
                    "name": "https://github.com/avo-hq/avo/commit/fc92a05a8556b1787c8694643286a1afa6a71258",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/avo-hq/avo/commit/fc92a05a8556b1787c8694643286a1afa6a71258"
                }
            ],
            "affected": [
                {
                    "vendor": "avo-hq",
                    "product": "avo",
                    "versions": [
                        {
                            "version": ">= 3.0.0.beta1, < 3.2.4",
                            "status": "affected"
                        },
                        {
                            "version": "< 2.47.0",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2024-01-18T15:13:57.372Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "source": {
                "advisory": "GHSA-ghjv-mh6x-7q6h",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-01T22:35:34.878Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/avo-hq/avo/security/advisories/GHSA-ghjv-mh6x-7q6h",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/avo-hq/avo/security/advisories/GHSA-ghjv-mh6x-7q6h"
                    },
                    {
                        "name": "https://github.com/avo-hq/avo/commit/51bb80b181cd8e31744bdc4e7f9b501c81172347",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/avo-hq/avo/commit/51bb80b181cd8e31744bdc4e7f9b501c81172347"
                    },
                    {
                        "name": "https://github.com/avo-hq/avo/commit/fc92a05a8556b1787c8694643286a1afa6a71258",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/avo-hq/avo/commit/fc92a05a8556b1787c8694643286a1afa6a71258"
                    }
                ]
            },
            {
                "affected": [
                    {
                        "vendor": "avo_hq",
                        "product": "avo",
                        "cpes": [
                            "cpe:2.3:a:avo_hq:avo:*:*:*:*:*:*:*:*"
                        ],
                        "defaultStatus": "unknown",
                        "versions": [
                            {
                                "version": "3.0.0.beta1",
                                "status": "affected",
                                "lessThan": "3.2.4",
                                "versionType": "custom"
                            },
                            {
                                "version": "0",
                                "status": "affected",
                                "lessThan": "2.4.7.0",
                                "versionType": "custom"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-01-17T16:56:18.891016Z",
                                "id": "CVE-2024-22191",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-10-21T12:03:51.403Z"
                }
            }
        ]
    }
}