{"cve":"CVE-2025-30223","nvd":{"published":"2025-03-31T17:15:42.147","modified":"2026-06-17T09:08:23.193","status":"Analyzed","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.6},"cwes":["CWE-79"],"references":["https://github.com/beego/beego/commit/939bb18c66406466715ddadd25dd9ffa6f169e25","https://github.com/beego/beego/security/advisories/GHSA-2j42-h78h-q4fg"],"products":["beego:beego"],"source":"nvd","synced_at":"2026-10-19T22:00:28.034033815+00:00"},"epss":{"cve":"CVE-2025-30223","score":0.00615,"percentile":0.49498,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-2j42-h78h-q4fg","url":"https://osv.dev/vulnerability/GHSA-2j42-h78h-q4fg","summary":"Beego allows Reflected/Stored XSS in Beego's RenderForm() Function Due to Unescaped User Input","modified":"2026-09-10T03:50:06.178776029Z","packages":[{"ecosystem":"Go","name":"github.com/beego/beego/v2","purl":"pkg:golang/github.com/beego/beego/v2","ranges":["<2.3.6"],"fixed":["2.3.6"]},{"ecosystem":"Go","name":"github.com/beego/beego","purl":"pkg:golang/github.com/beego/beego","ranges":["<=1.12.14"],"fixed":[]}]},{"id":"GO-2025-3585","url":"https://osv.dev/vulnerability/GO-2025-3585","summary":"Beego allows Reflected/Stored XSS in Beego's RenderForm() Function Due to Unescaped User Input in github.com/beego/beego","modified":"2026-02-04T02:25:35.872328Z","packages":[{"ecosystem":"Go","name":"github.com/beego/beego","purl":"pkg:golang/github.com/beego/beego","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/beego/beego/v2","purl":"pkg:golang/github.com/beego/beego/v2","ranges":["<2.3.6"],"fixed":["2.3.6"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}