{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2023-4136",
        "ASSIGNER": "security@craftersoftware.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in CrafterCMS Engine on Windows, MacOS, Linux, x86, ARM, 64 bit allows Reflected XSS.This issue affects CrafterCMS: from 4.0.0 through 4.0.2, from 3.1.0 through 3.1.27.\n\n"
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
                        "cweId": "CWE-79"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "CrafterCMS",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "CrafterCMS",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<=",
                                            "version_name": "4.0.0",
                                            "version_value": "4.0.2"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_name": "3.1.0",
                                            "version_value": "3.1.27"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://docs.craftercms.org/en/4.0/security/advisory.html#cv-2023080301",
                "refsource": "MISC",
                "name": "https://docs.craftercms.org/en/4.0/security/advisory.html#cv-2023080301"
            },
            {
                "url": "http://seclists.org/fulldisclosure/2023/Aug/30",
                "refsource": "MISC",
                "name": "http://seclists.org/fulldisclosure/2023/Aug/30"
            },
            {
                "url": "http://packetstormsecurity.com/files/174304/CrafterCMS-4.0.2-Cross-Site-Scripting.html",
                "refsource": "MISC",
                "name": "http://packetstormsecurity.com/files/174304/CrafterCMS-4.0.2-Cross-Site-Scripting.html"
            }
        ]
    },
    "generator": {
        "engine": "Vulnogram 0.1.0-dev"
    },
    "source": {
        "discovery": "EXTERNAL"
    },
    "work_around": [
        {
            "lang": "en",
            "supportingMedia": [
                {
                    "base64": false,
                    "type": "text/html",
                    "value": "<ul><li>Add a WAF to inspect and filter these types of attacks</li><li>Disable external access to these APIs if not in active use by the rendering application<br></li></ul>"
                }
            ],
            "value": "  *  Add a WAF to inspect and filter these types of attacks\n  *  Disable external access to these APIs if not in active use by the rendering application\n\n\n\n"
        }
    ],
    "credits": [
        {
            "lang": "en",
            "value": "Egidio Romano <egidio.romano@mindedsecurity.com>"
        }
    ],
    "impact": {
        "cvss": [
            {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 7.4,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "CHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N",
                "version": "3.1"
            }
        ]
    }
}