# CVE-2021-39391: Cross-site Scripting in Beego

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.80%, higher than 57% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-09-14T17:27:23.000Z
- Modified: 2026-06-17T04:03:39.743Z
- Also known as: GHSA-c77f-4rgj-jfr4
- Weaknesses: CWE-64, CWE-79
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/beego/beego/v2 (Go): before 2.0.2
- beego beego: 2.0.1

## Every score

- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/beego/beego/issues/4727> (exploit, issue-tracking, patch, third-party-advisory, web)
- <https://github.com/beego/beego> (package, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-39391> (advisory)

## Sources

- CVE List: [CVE-2021-39391](https://www.cve.org/CVERecord?id=CVE-2021-39391), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-c77f-4rgj-jfr4](https://github.com/advisories/GHSA-c77f-4rgj-jfr4), CC-BY-4.0, modified 2023-12-07
- NVD: [CVE-2021-39391](https://nvd.nist.gov/vuln/detail/CVE-2021-39391), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-39391 · Whole record: https://cve.day/CVE-2021-39391.json · Rebuilt by cve.day 2026-11-25T22:58:03.949Z
