CVE-2025-30223
Beego Cross-Site Scripting Vulnerability
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.
INFO
Published Date :
March 31, 2025, 5:15 p.m.
Last Modified :
April 1, 2025, 8:26 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.8
Exploitability Score :
2.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-30223
.
URL | Resource |
---|---|
https://github.com/beego/beego/commit/939bb18c66406466715ddadd25dd9ffa6f169e25 | |
https://github.com/beego/beego/security/advisories/GHSA-2j42-h78h-q4fg |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-30223
vulnerability anywhere in the article.

-
Daily CyberSecurity
CVE-2025-30223 (CVSS 9.3): Critical XSS Vulnerability Discovered in Beego Framework
A Cross-Site Scripting (XSS) vulnerability has been identified in the Beego framework, a popular Go framework for building web applications and APIs. This vulnerability, tracked as CVE-2025-30223 (CVS ... Read more
The following table lists the changes that have been made to the
CVE-2025-30223
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by [email protected]
Mar. 31, 2025
Action Type Old Value New Value 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. Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N Added CWE CWE-79 Added Reference https://github.com/beego/beego/commit/939bb18c66406466715ddadd25dd9ffa6f169e25 Added Reference https://github.com/beego/beego/security/advisories/GHSA-2j42-h78h-q4fg
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-30223
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-30223
weaknesses.