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.
History

Fri, 01 Aug 2025 19:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:beego:beego:*:*:*:*:*:*:*:*

Mon, 31 Mar 2025 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 31 Mar 2025 16:30:00 +0000

Type Values Removed Values Added
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.
Title Beego allows Reflected/Stored XSS in Beego's RenderForm() Function Due to Unescaped User Input
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 9.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2025-03-31T16:17:05.914Z

Updated: 2025-03-31T18:21:08.456Z

Reserved: 2025-03-18T18:15:13.851Z

Link: CVE-2025-30223

cve-icon Vulnrichment

Updated: 2025-03-31T18:21:00.945Z

cve-icon NVD

Status : Analyzed

Published: 2025-03-31T17:15:42.147

Modified: 2025-08-01T18:58:43.910

Link: CVE-2025-30223

cve-icon Redhat

No data.