Security mailing lists by PureSourceCode

CVE-2025-30223

CRITICAL 9.6CVSS 3.1

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

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.

Published
31 Mar 2025
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-79
Also known as
GHSA-2j42-h78h-q4fgGO-2025-3585
Sources
NVDJSONOSV GHSA-2j42-h78h-q4fgJSONOSV GO-2025-3585JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 CRITICAL 9.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
OSV GitHub CVSS 3.1 CRITICAL 9.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD beego beego
cpe:2.3:a:beego:beego:*:*:*:*:*:*:*:*
< 2.3.6 2.3.6
OSV Go github.com/beego/beego/v2 < 2.3.6 2.3.6
OSV Go github.com/beego/beego <= 1.12.14
OSV Go github.com/beego/beego all versions

References

History

  • 25 Nov 2026 20:57 UTC · NVD: first stored (published 31 Mar 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Apr 2025)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 31 Mar 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.