{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "generator": {
        "engine": "Vulnogram 0.0.9"
    },
    "CVE_data_meta": {
        "ID": "CVE-2022-23549",
        "ASSIGNER": "security-advisories@github.com",
        "TITLE": "Discourse vulnerable to bypass of post max_length using HTML comments",
        "STATE": "PUBLIC"
    },
    "source": {
        "defect": [
            "GHSA-p47g-v5wr-p4xp"
        ],
        "advisory": "GHSA-p47g-v5wr-p4xp",
        "discovery": "UNKNOWN"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "discourse",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "discourse",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_name": "2.8.14",
                                            "version_affected": "<",
                                            "version_value": "2.8.14",
                                            "platform": ""
                                        },
                                        {
                                            "version_name": "2.9.0.beta0",
                                            "version_affected": "<=",
                                            "version_value": "2.9.0.beta0",
                                            "platform": ""
                                        },
                                        {
                                            "version_name": "2.9.0.beta16",
                                            "version_affected": "<",
                                            "version_value": "2.9.0.beta16",
                                            "platform": ""
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-20 Improper Input Validation"
                    }
                ]
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "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."
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "MISC",
                "url": "https://github.com/discourse/discourse/commit/bf6b08670a927cc80bb090b7a2e710b4b554e6a8",
                "name": "https://github.com/discourse/discourse/commit/bf6b08670a927cc80bb090b7a2e710b4b554e6a8"
            },
            {
                "refsource": "CONFIRM",
                "url": "https://github.com/discourse/discourse/security/advisories/GHSA-p47g-v5wr-p4xp",
                "name": "https://github.com/discourse/discourse/security/advisories/GHSA-p47g-v5wr-p4xp"
            }
        ]
    },
    "impact": {
        "cvss": {
            "version": "3.1",
            "attackVector": "NETWORK",
            "attackComplexity": "LOW",
            "privilegesRequired": "LOW",
            "userInteraction": "REQUIRED",
            "scope": "UNCHANGED",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "availabilityImpact": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H",
            "baseScore": 5.7,
            "baseSeverity": "MEDIUM"
        }
    }
}