{
    "CVE_data_meta": {
        "ASSIGNER": "security@huntr.dev",
        "ID": "CVE-2021-3693",
        "STATE": "PUBLIC",
        "TITLE": "Cross-site Scripting (XSS) - DOM in ledgersmb/ledgersmb"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "ledgersmb/ledgersmb",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "!",
                                            "version_value": "1.7.33"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_value": "1.8.18"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "ledgersmb"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "LedgerSMB does not check the origin of HTML fragments merged into the browser's DOM. By sending a specially crafted URL to an authenticated user, this flaw can be abused for remote code execution and information disclosure."
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 8.8,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://huntr.dev/bounties/daf1384d-648a-43fd-9b35-5c37d8ead667",
                "refsource": "CONFIRM",
                "url": "https://huntr.dev/bounties/daf1384d-648a-43fd-9b35-5c37d8ead667"
            },
            {
                "name": "https://ledgersmb.org/cve-2021-3693-cross-site-scripting",
                "refsource": "MISC",
                "url": "https://ledgersmb.org/cve-2021-3693-cross-site-scripting"
            },
            {
                "refsource": "DEBIAN",
                "name": "DSA-4962",
                "url": "https://www.debian.org/security/2021/dsa-4962"
            }
        ]
    },
    "source": {
        "advisory": "daf1384d-648a-43fd-9b35-5c37d8ead667",
        "discovery": "EXTERNAL"
    }
}