{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2022-23549",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "dateUpdated": "2024-08-03T03:43:46.454Z",
        "dateReserved": "2022-01-19T00:00:00",
        "datePublished": "2023-01-05T00:00:00"
    },
    "containers": {
        "cna": {
            "title": "Discourse vulnerable to bypass of post max_length using HTML comments",
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2023-01-05T00:00:00"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Discourse is an option source discussion platform. Prior to version 2.8.14 on the `stable` branch and version 2.9.0.beta16 on the `beta` and `tests-passed` branches, users can create posts with raw body longer than the `max_length` site setting by including html comments that are not counted toward the character limit. This issue is patched in versions 2.8.14 and 2.9.0.beta16. There are no known workarounds."
                }
            ],
            "affected": [
                {
                    "vendor": "discourse",
                    "product": "discourse",
                    "versions": [
                        {
                            "version": "2.8.14",
                            "status": "affected",
                            "lessThan": "2.8.14",
                            "versionType": "custom"
                        },
                        {
                            "version": "2.9.0.beta0",
                            "status": "affected",
                            "lessThanOrEqual": "2.9.0.beta0",
                            "versionType": "custom"
                        },
                        {
                            "version": "2.9.0.beta16",
                            "status": "affected",
                            "lessThan": "2.9.0.beta16",
                            "versionType": "custom"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://github.com/discourse/discourse/commit/bf6b08670a927cc80bb090b7a2e710b4b554e6a8"
                },
                {
                    "url": "https://github.com/discourse/discourse/security/advisories/GHSA-p47g-v5wr-p4xp"
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "LOW",
                        "userInteraction": "REQUIRED",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "NONE",
                        "availabilityImpact": "HIGH",
                        "baseScore": 5.7,
                        "baseSeverity": "MEDIUM"
                    }
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "lang": "en",
                            "description": "CWE-20 Improper Input Validation",
                            "cweId": "CWE-20"
                        }
                    ]
                }
            ],
            "x_generator": {
                "engine": "Vulnogram 0.0.9"
            },
            "source": {
                "defect": [
                    "GHSA-p47g-v5wr-p4xp"
                ],
                "advisory": "GHSA-p47g-v5wr-p4xp",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T03:43:46.454Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://github.com/discourse/discourse/commit/bf6b08670a927cc80bb090b7a2e710b4b554e6a8",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/discourse/discourse/security/advisories/GHSA-p47g-v5wr-p4xp",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}