{"id":"CVE-2022-31259","state":"PUBLISHED","title":"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 ","description":"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).","publishedAt":"2022-05-21T00:00:00.000Z","updatedAt":"2024-08-03T07:11:39.910Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/beego/beego/issues/4946","https://beego.vip","https://github.com/beego/beego/tree/v2.0.2","https://github.com/advisories/GHSA-qx32-f6g6-fcfr"],"weaknesses":[],"ingestedAt":"2026-10-29T19:50:06.617Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/31xxx/CVE-2022-31259.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-31259","state":"PUBLISHED","datePublished":"2022-05-21T00:00:00.000Z","dateUpdated":"2024-08-03T07:11:39.910Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2022-05-21T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","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)."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/beego/beego/issues/4946"},{"url":"https://beego.vip"},{"url":"https://github.com/beego/beego/tree/v2.0.2"},{"url":"https://github.com/advisories/GHSA-qx32-f6g6-fcfr"}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"n/a"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2023-02-17T00:00:00.000Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/beego/beego/issues/4946","tags":["x_transferred"]},{"url":"https://beego.vip","tags":["x_transferred"]},{"url":"https://github.com/beego/beego/tree/v2.0.2","tags":["x_transferred"]},{"url":"https://github.com/advisories/GHSA-qx32-f6g6-fcfr","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T07:11:39.910Z"}}]}}}