HOMEVULNERABILITIESCVE-2025-30223
CRITICAL

CVE-2025-30223

CWE-79Published: March 31, 2025· Updated: Jun 17, 2026

9.6
CVSS v3.1

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

NVD Source

Risk Analysis

Beego versions prior to 2.3.6 are vulnerable to Cross-Site Scripting (XSS) in the RenderForm() function due to improper HTML escaping. Attackers can inject malicious JavaScript that executes in a victim's browser, leading to session hijacking or account takeover. This is a critical risk for any application utilizing this function.

No public exploit is known for this vulnerability, and it is not in the KEV database. It is remotely exploitable with low complexity.

Recommended Action

Update the Beego framework to version 2.3.6 or later to ensure proper HTML escaping of user-controlled data.

Generated by the CTIWATCH analysis pipeline from this CVE's metadata (CVSS, EPSS, KEV status, exploit intelligence). Verify against vendor advisories before acting.

Technical Analysis

CVE-2025-30223 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

Exploitation does not require any privileges, though user interaction (Required) is needed, which slightly reduces the risk of mass automated attacks.

A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.6.

The vulnerability has a "Changed" scope, meaning successful exploitation can impact components beyond the vulnerable component itself — such as the host operating system or adjacent services.

From a weakness classification perspective (CWE-79): Cross-site scripting (XSS) vulnerabilities allow attackers to inject malicious scripts into web pages viewed by other users.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityLow
Privileges Req.None
User InteractionRequired
ScopeChanged
Impact
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Affected Vendors & Products

beego1 product(s)
beego
Source: NVD CPE · 1 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (2)

Quick Facts

CVE IDCVE-2025-30223
CVSS Score9.6 / 10
SeverityCRITICAL
WeaknessCWE-79
CISA KEVNo
Affected1 vendor(s)
PublishedMar 31, 2025

Related CVEs (CWE-79)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2025-30223 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWatch. CVE data is provided under the NVD usage policy.