CVE-2021-39391Beego
Medium 6.1 No auth needed
Follow: this CVE · Beego · Beego We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 53
- Auth required
- No
- Published
- Sep 14, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
Cross Site Scripting (XSS) vulnerability exists in the admin panel in Beego v2.0.1 via the URI path in an HTTP request, which is activated by administrators viewing the "Request Statistics" page.
What to do
- Apply the vendor's security update for Beego.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/beego/beego/v2 |
< 2.0.2 |
2.0.2 |
go get github.com/beego/beego/v2@v2.0.2 |
Per OSV / GitHub Advisories (GHSA-c77f-4rgj-jfr4). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| beego | beego | 2.0.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- github.com Exploit Issue Tracking Patch