9.6

CVE-2025-30223: beego Cross-site Scripting

CVSS: 9.6v3.1CriticalAnalyzed
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) Cross-site Scripting vulnerability in beego. EPSS estimates a 0.60% chance of exploitation in the next 30 days, higher than 47.8% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.6/10
010
Critical · v3.1 (NVD)
EPSS score
0.60%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known 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.60%

Chance of exploitation in the next 30 days

Percentile

48%

Versus all other CVEs

30-day change

+0.01 pp

From 0.59% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.60%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Beego

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

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