{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-43658",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2023-09-20T15:35:38.148Z",
        "datePublished": "2023-10-16T21:28:57.341Z",
        "dateUpdated": "2024-09-16T15:48:22.849Z"
    },
    "containers": {
        "cna": {
            "title": "Improper escaping of user input in discourse-calendar",
            "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": "HIGH",
                        "baseScore": 8,
                        "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:H",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/discourse/discourse-calendar/security/advisories/GHSA-3fwj-f6ww-7hr6",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/discourse/discourse-calendar/security/advisories/GHSA-3fwj-f6ww-7hr6"
                },
                {
                    "name": "https://github.com/discourse/discourse-calendar/commit/9788310906febb36822d6823d14f1059c39644de",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/discourse/discourse-calendar/commit/9788310906febb36822d6823d14f1059c39644de"
                },
                {
                    "name": "https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP"
                }
            ],
            "affected": [
                {
                    "vendor": "discourse",
                    "product": "discourse-calendar",
                    "versions": [
                        {
                            "version": "< 97883109",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2023-10-16T21:28:57.341Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "dicourse-calendar is a plugin for the Discourse messaging platform which adds the ability to create a dynamic calendar in the first post of a topic. Improper escaping of event titles could lead to Cross-site Scripting (XSS) within the 'email preview' UI when a site has CSP disabled. Having CSP disabled is a non-default configuration, so the vast majority of sites are unaffected. This problem is resolved in the latest version of the discourse-calendar plugin. Users are advised to upgrade. Users unable to upgrade should ensure CSP is enabled on the forum."
                }
            ],
            "source": {
                "advisory": "GHSA-3fwj-f6ww-7hr6",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T19:44:43.814Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/discourse/discourse-calendar/security/advisories/GHSA-3fwj-f6ww-7hr6",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/discourse/discourse-calendar/security/advisories/GHSA-3fwj-f6ww-7hr6"
                    },
                    {
                        "name": "https://github.com/discourse/discourse-calendar/commit/9788310906febb36822d6823d14f1059c39644de",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/discourse/discourse-calendar/commit/9788310906febb36822d6823d14f1059c39644de"
                    },
                    {
                        "name": "https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP"
                    }
                ]
            },
            {
                "affected": [
                    {
                        "vendor": "discourse",
                        "product": "discourse_calendar",
                        "cpes": [
                            "cpe:2.3:a:discourse:discourse_calendar:*:*:*:*:*:*:*:*"
                        ],
                        "defaultStatus": "unknown",
                        "versions": [
                            {
                                "version": "0",
                                "status": "affected",
                                "lessThanOrEqual": "9d1726fe",
                                "versionType": "custom"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-09-16T15:23:09.684587Z",
                                "id": "CVE-2023-43658",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-09-16T15:48:22.849Z"
                }
            }
        ]
    }
}