9.6

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

Analyzed
AliasesGHSA-2j42-h78h-q4fgGO-2025-3585CGA-227p-c7xp-x322
Published 31-03-2025Last modified 31-03-2025

Vulnerability summary

CVE-2025-30223 is a critical (CVSS 9.6) vulnerability in beego. EPSS estimates a 0.61% chance of exploitation in the next 30 days, higher than 50.9% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

CIRCL last checked 05-12-2026

Source freshness unavailable

How is this decided?
CVSS score
9.6/10
010
Critical · v3.1 (NVD)
EPSS score
0.61%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 1 · Related 8

Timeline

  1. 31-03-2025
    PublishedVulnerability first disclosed.
  2. 31-03-2025
    Last modifiedVulnerability information updated.

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 metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.61%

Chance of exploitation in the next 30 days

Percentile

51%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.61% on 05-11-2026

05-11-202605-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Beego

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard33 products
  • harbor-2.11< 2.11.2-r7
  • harbor-2.11-exporter< 2.11.2-r7
  • harbor-2.11-jobservice< 2.11.2-r7
  • harbor-2.11-photon-registry< 2.11.2-r7
  • harbor-2.11-portal< 2.11.2-r7
Beego1 product
Github.com/beego1 product
  • beego≤ 1.12.14 | All versions (No fix recorded)
Github.com/beego/beego1 product
  • v2< 2.3.6

4 vendors · 36 products

References

6 links