{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-40643",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2024-07-08T16:13:15.512Z",
        "datePublished": "2024-09-09T14:28:20.920Z",
        "dateUpdated": "2024-09-09T14:52:47.111Z"
    },
    "containers": {
        "cna": {
            "title": "Joplin has a parsing error leading to Cross-site Scripting (XSS)",
            "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": 9.7,
                        "baseSeverity": "CRITICAL",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "NONE",
                        "scope": "CHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/laurent22/joplin/security/advisories/GHSA-g796-3g6g-jmmc",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/laurent22/joplin/security/advisories/GHSA-g796-3g6g-jmmc"
                },
                {
                    "name": "https://github.com/laurent22/joplin/commit/b220413a9b5ed55fb1f565ac786a5c231da8bc87",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/laurent22/joplin/commit/b220413a9b5ed55fb1f565ac786a5c231da8bc87"
                }
            ],
            "affected": [
                {
                    "vendor": "laurent22",
                    "product": "joplin",
                    "versions": [
                        {
                            "version": "< 3.0.15",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2024-09-09T14:28:20.920Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Joplin is a free, open source note taking and to-do application. Joplin fails to take into account that \"<\" followed by a non letter character will not be considered html. As such it is possible to do an XSS by putting an \"illegal\" tag within a tag."
                }
            ],
            "source": {
                "advisory": "GHSA-g796-3g6g-jmmc",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "affected": [
                    {
                        "vendor": "joplinapp",
                        "product": "joplin",
                        "cpes": [
                            "cpe:2.3:a:joplinapp:joplin:*:*:*:*:*:node.js:*:*"
                        ],
                        "defaultStatus": "unknown",
                        "versions": [
                            {
                                "version": "0",
                                "status": "affected",
                                "lessThan": "3.0.15",
                                "versionType": "custom"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-09-09T14:51:10.576198Z",
                                "id": "CVE-2024-40643",
                                "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-09-09T14:52:47.111Z"
                }
            }
        ]
    }
}