VDB

CVE-2025-30223

CVE-2025-30223 PUBLISHED CVSS 9.600000381469727 CRITICAL

Record from NVD · Published March 31, 2025

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.

EPSS 0.61% · 50.4th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
github.com/beego/beego/v2Go Modules2.3.6
github.com/beego/beegoGo Modules1.12.14
harbor-fips-2.12Chainguard2.12.2-r9

Risk scores

CVSS 3.1
9.600000381469727
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
EPSS Score
0.61%
50.4th percentile

Affected products

VendorProductVersions
beegobeego0

Timeline

  • Mar 31, 2025 CVE Published
  • Mar 31, 2025 Coalition ESS Score (15 in total, the first dated here)
  • Mar 31, 2025 PoC Published (9 in total, the first dated here)
  • Apr 1, 2025 EPSS Score (30 in total, the first dated here)
  • Dec 17, 2025 Security Advisory (2 in total, the first dated here)
  • Dec 17, 2025 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-30223
vulnetix vdb fixes CVE-2025-30223

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-30223/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›