CVE-2021-39391 json
Cross-site Scripting in Beego
published 5y ago modified 4mo ago also GHSA-c77f-4rgj-jfr4 , EUVD-2021-2033
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Is CVE-2021-39391 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
0.80% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/beego/beego/issues/4727 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/beego/beego/v2 | <2.0.2 |
2.0.2 |
Classification
References
-
github.com
/beego/beego/issues/4727
web, exploit, issue-tracking, patch, third-party-advisory
-
github.com
/beego/beego
package, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-39391
advisory
Sources
- CVE List CVE-2021-39391
- GitHub Advisory GHSA-c77f-4rgj-jfr4
- NVD CVE-2021-39391
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.