CVE-2025-30223: Beego allows Reflected/Stored XSS in Beego's RenderForm() Function Due to Unescaped User Input

CVE-2025-30223 · Severity: low · CVSS 3.1 · Published 2025-04-01

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

Technologies: github.com/beego/beego (Go), github.com/beego/beego/v2 (Go). Vendors: Go.

Quick answers

Is CVE-2025-30223 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-30223 being exploited in the wild.
How severe is CVE-2025-30223?
Low severity, with a CVSS score of 3.1, published 1 April 2025.
Which products and versions are affected?
github.com/beego/beego (Go) SEMVER:introduced=0, SEMVER:introduced=0,last_affected=1.12.14; github.com/beego/beego/v2 (Go) SEMVER:introduced=0,fixed=2.3.6.
Is there a fix for CVE-2025-30223?
Yes. github.com/beego/beego/v2 (Go): upgrade to 2.3.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-30223?
Check whether you run github.com/beego/beego (Go) or github.com/beego/beego/v2 (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • github.com/beego/beego/v2 (Go): upgrade to 2.3.6 or later
    go get github.com/beego/beego/v2@v2.3.6

Affected products

  • github.com/beego/beego (Go) SEMVER:introduced=0, SEMVER:introduced=0,last_affected=1.12.14
  • github.com/beego/beego/v2 (Go) SEMVER:introduced=0,fixed=2.3.6

Identifiers

  • CVE-2025-30223
  • GHSA-2j42-h78h-q4fg
  • GO-2025-3585

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.