What’s Vulnerable › Vulnerabilities
CVE-2022-31259
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 22.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-05-21 · updated 2026-06-17
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).
Affected products
- beego: through 1.12.4; from 2.0.0 through 2.0.2
References
- https://beego.vip
- https://github.com/advisories/GHSA-qx32-f6g6-fcfr
- https://github.com/beego/beego/issues/4946
- https://github.com/beego/beego/tree/v2.0.2
- https://beego.vip
- https://github.com/advisories/GHSA-qx32-f6g6-fcfr
- https://github.com/beego/beego/issues/4946
- https://github.com/beego/beego/tree/v2.0.2
Get alerted when CVE-2022-31259 or the next vulnerability affects your stack