{
    "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2022-31259",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "n/a",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "n/a"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "n/a"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "The route lookup process in beego before 1.12.9 and 2.x before 2.0.3 allows attackers to bypass access control. When a /p1/p2/:name route is configured, attackers can access it by appending .xml in various places (e.g., p1.xml instead of p1)."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/beego/beego/issues/4946",
                "refsource": "MISC",
                "name": "https://github.com/beego/beego/issues/4946"
            },
            {
                "url": "https://beego.vip",
                "refsource": "MISC",
                "name": "https://beego.vip"
            },
            {
                "url": "https://github.com/beego/beego/tree/v2.0.2",
                "refsource": "MISC",
                "name": "https://github.com/beego/beego/tree/v2.0.2"
            },
            {
                "refsource": "MISC",
                "name": "https://github.com/advisories/GHSA-qx32-f6g6-fcfr",
                "url": "https://github.com/advisories/GHSA-qx32-f6g6-fcfr"
            }
        ]
    }
}