The route lookup process in beego prior to 1.12.9 and 2.x prior to 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).
{
"nvd_published_at": "2022-05-21T19:15:00Z",
"cwe_ids": [
"CWE-284"
],
"severity": "CRITICAL",
"github_reviewed": true,
"github_reviewed_at": "2022-05-25T20:35:48Z"
}