cve.bz

CVE-2025-30223

9.6 criticalEPSS 0.6%

Critical (9.6) in beego beego. EPSS 0.6% chance of exploitation in the next 30 days. Fixed in github.com/beego/beego/v2 2.3.6.

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.

Severity

CVSS 3.1

9.6 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
EPSS
0.6% chance of exploitation in the next 30 days; higher than 49% of CVEs (scores of 2026-10-31)
CWE
CWE-79
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2j42-h78h-q4fgGogithub.com/beego/beego/v2<2.3.62.3.6
GHSA-2j42-h78h-q4fgGogithub.com/beego/beego<=1.12.14no fix published
GO-2025-3585Gogithub.com/beego/beegoall versionsno fix published
GO-2025-3585Gogithub.com/beego/beego/v2<2.3.62.3.6

References

Check your stackJSON