SCA: security update for github.com/beego/beego/v2 (GHSA-2j42-h78h-q4fg)

critical Tenable Cloud Security Plugin ID 423586

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2025-30223)

See Also

https://github.com/advisories/GHSA-2j42-h78h-q4fg

Plugin Details

Severity: Critical

ID: 423586

Version: Revision 1.9

Type: Local

Family: SCA Checks

Published: 3/31/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 94.63

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2025-30223

CVSS v3

Risk Factor: Critical

Base Score: 9.6

Temporal Score: 8.6

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/31/2025

Vulnerability Publication Date: 3/31/2025

Reference Information

CVE: CVE-2025-30223

cwe: CWE-79