CVE-2025-30223: Beego allows Reflected/Stored XSS in Beego's RenderForm() Function Due to Unescaped User Input
Vulnerability summary
CVE-2025-30223 is a critical (CVSS 9.6) vulnerability in beego. EPSS estimates a 0.61% chance of exploitation in the next 30 days, higher than 50.9% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 8Timeline
- 31-03-2025PublishedVulnerability first disclosed.
- 31-03-2025Last modifiedVulnerability information updated.
Description
Beego is an open-source web framework for the Go programming language. Prior to 2.3.6, a Cross-Site Scripting (XSS) vulnerability exists in Beego's RenderForm() function due to improper HTML escaping of user-controlled data. This vulnerability allows attackers to inject malicious JavaScript code that executes in victims' browsers, potentially leading to session hijacking, credential theft, or account takeover. The vulnerability affects any application using Beego's RenderForm() function with user-provided data. Since it is a high-level function generating an entire form markup, many developers would assume it automatically escapes attributes (the way most frameworks do). This vulnerability is fixed in 2.3.6.
CVSS metrics
4 scores · 4 sources · 1 version- CVE.orgCNA9.3CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:NDiffers
- OSV · GoEcosystem advisory · calculated9.3CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:NDiffers
- OSV · ChainguardEcosystem advisory · calculated9.3CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:NDiffers
EPSS trend
Probability
0.61%
Chance of exploitation in the next 30 days
Percentile
51%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.61% on 05-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundBeego
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard33 products
- harbor-2.11< 2.11.2-r7
- harbor-2.11-exporter< 2.11.2-r7
- harbor-2.11-jobservice< 2.11.2-r7
- harbor-2.11-photon-registry< 2.11.2-r7
- harbor-2.11-portal< 2.11.2-r7
Beego1 product
- beego< 2.3.6
Github.com/beego1 product
- beego≤ 1.12.14 | All versions (No fix recorded)
Github.com/beego/beego1 product
- v2< 2.3.6
4 vendors · 36 products
References
6 links- github.com/beego/beego/security/advisories/GHSA-2j42-h78h-q4fgX Refsource CONFIRMWEBAdvisoryExploitVendor Advisory
- github.com/beego/beegoPACKAGE