Skip to main content
Public proof of conceptFix available

CVE-2025-30223

A public proof of concept exists; no exploitation attested.

  • Published2025-03-31
  • WeaknessCWE-79

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2025-03-3117:15CVE publishedNVD

Versions per branch

OSV · NVD
beego/beego
BranchAffectedFixed in
1.12≤ 1.12.14no fix published
Beego
BranchAffectedFixed in
2.3< 2.3.62.3.6

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • beego
    Affected
    • = < 2.3.6no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2025-03-31

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • govulncheck-vulndbopenSUSE:Tumbleweedall versions · fixed in 0.0.20250402T160203-1.1
  • harbor-2.11MinimOSall versions · fixed in 2.11.2-r3and 4 other packages
  • harbor-2.11Chainguardall versions · fixed in 2.11.2-r7and 6 other packages
  • harbor-2.12Chainguardall versions · fixed in 2.12.2-r9and 15 other packages
  • harbor-fipsCleanStartall versions · fixed in 2.11.2-r5
  • harbor-fipsCleanStartall versions · fixed in 2.11.2-r4

Full record on NVD

Fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2025-03-31
  • CNACVSS 3.19.3known since 2026-10-23
  • NVDCVSS 3.19.6read 2026-10-23
  • CNAweakness (CWE)CWE-79known since 2026-10-23
  • FIRST EPSSEPSS score0.6 %2026-11-08
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryCRITICAL2025-03-31

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Published
2025-03-31
Last Modified
2026-06-17
NVD status
Analyzed
GitHub Advisory
GHSA-2j42-h78h-q4fg

Frequently asked questions

What is CVE-2025-30223?

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.

Is CVE-2025-30223 actively exploited?

A proof-of-concept exploit exists for CVE-2025-30223, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2025-30223?

CVE-2025-30223 has a CVSS v3 base score of 9.6 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H.

Running beego/beego? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record