-
CVSS Score
-Basic Information
CVE ID
-
GHSA ID
-
EPSS Score
-
CWE
-
Published
-
Updated
-
KEV Status
-
Technology
-
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| github.com/beego/beego/v2 | go | < 2.0.3 | 2.0.3 |
| github.com/beego/beego | go | < 1.12.9 | 1.12.9 |
The vulnerability stems from the route matching logic in tree.go where suffix validation was incorrectly implemented. The patch modifies line 344 to check 'pattern == ""' instead of 'strings.HasSuffix(treePattern, seg)', indicating the original condition failed to properly validate path segments with extensions. This allowed attackers to access protected routes via crafted URLs with suffix injections (e.g., /p1.xml instead of /p1). The direct correlation between the CVE description, commit diff, and function modification confirms this as the vulnerable component.
Ongoing coverage of React2Shell