CVE-2025-30223

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-30223
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-30223.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-30223
Aliases
Published
2025-03-31T17:15:42Z
Modified
2025-04-01T22:49:09.695873Z
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/beego/beego

Affected ranges

Type
GIT
Repo
https://github.com/beego/beego
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.6.0
v0.7.0
v0.8.0
v0.9.0

v1.*

v1.0.1
v1.10.0
v1.10.1
v1.11.0
v1.11.1
v1.12.0
v1.12.1
v1.12.2
v1.12.3
v1.2.0
v1.3.0
v1.4.0
v1.4.1
v1.4.2
v1.4.3
v1.5.0
v1.6.0
v1.6.1
v1.7.0
v1.7.1
v1.7.2
v1.8.0
v1.8.1
v1.8.2
v1.8.3
v1.9.0
v1.9.2

v2.*

v2.0.0
v2.0.0-beta
v2.0.1
v2.0.2
v2.0.2-beta.1
v2.0.3
v2.0.4
v2.0.5
v2.0.6
v2.0.7
v2.1.0
v2.1.1
v2.1.2
v2.1.3
v2.1.4
v2.1.5
v2.1.6
v2.2.0
v2.2.1
v2.2.2
v2.3.0
v2.3.1
v2.3.2
v2.3.3
v2.3.4
v2.3.5