Read the docs
TI-2025-21559 Aliases CVE-2025-30223GHSA-2j42-h78h-q4fg

Beego allows Reflected/Stored XSS in Beego's RenderForm() Function Due to Unescaped User Input

Priority HIGH 76CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00615 49th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed beego (beego): 2.3.6github.com/beego/beego/v2 (Go): 2.3.6

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
beegobeegobefore 2.3.62.3.6Patch availableCNA
—github.com/beego/beego/v2 (Go)before 2.3.62.3.6Patch availableGHSA-2j42-h78h-q4fg
—github.com/beego/beego (Go)up to 1.12.14—No fix listedGHSA-2j42-h78h-q4fg
  • beego Vendorbeego Affected before 2.3.6 Fixed in 2.3.6 Patch available CNA
  • github.com/beego/beego/v2 (Go) Vendor— Affected before 2.3.6 Fixed in 2.3.6 Patch available GHSA-2j42-h78h-q4fg
  • github.com/beego/beego (Go) Vendor— Affected up to 1.12.14 Fixed in — No fix listed GHSA-2j42-h78h-q4fg

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:beego:beego:*:*:*:*:*:*:*:*before 2.3.6Vulnerablebeego
  • cpe:2.3:a:beego:beego:*:*:*:*:*:*:*:* Versions before 2.3.6 Vulnerable ·beego

Remediation

  • Fix · CNA beego (beego) Fixed in 2.3.6
  • Fix · GHSA-2j42-h78h-q4fg github.com/beego/beego/v2 (Go) Fixed in 2.3.6 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-30223
  2. 2026-10-03 Alias added: GHSA-2j42-h78h-q4fg

References

  • TI-2022-13292 The route lookup process in beego before 1.12.9 and 2.x before 2.0.3 allows attackers to… CVSS 3.1CRITICAL 9.8
  • TI-2022-13707 The leafInfo.match() function in Beego v2.0.3 and below uses path.join() to deal with… CVSS 3.1CRITICAL 9.8
  • TI-2021-10653 An issue was discovered in the route lookup process in beego before 1.12.11 that allows… CVSS 3.1CRITICAL 9.8
  • TI-2024-26936 An issue in beego v.2.2.0 and before allows a remote attacker to escalate privileges via… CVSS 3.1HIGH 8.8
  • TI-2024-26937 An issue in beego v.2.2.0 and before allows a remote attacker to escalate privileges via… CVSS 3.1HIGH 8.8
  • TI-2024-36951 Beego Vulnerable to Collision Hazards of MD5 in Cache Key Filenames CVSS 4.0MEDIUM 6.9
See all 11 →

Sources