CVE-2025-22952: Memos Server-Side Request Forgery (SSRF)
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.95928%
CWE
Published
2/27/2025
Updated
3/3/2025
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| github.com/usememos/memos | go | <= 0.24.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from two key issues: 1) GetHTMLMeta used http.Get(), which follows redirects by default without validating intermediate URLs. Attackers could exploit this by chaining redirects to internal endpoints. 2) The original validateURL function only checked the initial host's IP, not resolved IPs from DNS queries. The commit f17774cb introduced a custom HTTP client with redirect validation and enhanced DNS-based IP checks, confirming these were the missing safeguards.