CVE-2025-30223

CRITICAL EPSS 42.8%
Published Mar 31, 20251y ago · Modified Jun 17, 20262w ago
9.6 CVSS 3.1
Critical
Find Similar
Published Mar 31, 2025 1y ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
9.6
Exploitability
2.8
Impact
6.0
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Changed
Confidentiality High
Integrity High
Availability High

Threat Intelligence

EPSS Exploit Probability
42.8% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 1

CWE-79 Cross-site Scripting Injection

Affected Products 1

VendorProductVersionRange
beegobeego* <2.3.6

References 2

  • github.com https://github.com/beego/beego/commit/939bb18c66406466715ddadd25dd9ffa6f169e25
    Patch
  • github.com https://github.com/beego/beego/security/advisories/GHSA-2j42-h78h-q4fg
    ExploitVendor Advisory

Remediation

  • github.com https://github.com/beego/beego/commit/939bb18c66406466715ddadd25dd9ffa6f169e25
    Patch