CVE-2025-22952: Github.com/usememos/memos Memos Server-Side Request Forgery (SSRF) Vulnerability
MODERATECVE-2025-22952 is a MODERATE memos server-side request forgery (ssrf) vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Github.com/usememos/memos libraries in the Go ecosystem. The issue involves memos server-side request forgery (ssrf). Remediation is available in the latest vendor maintenance releases.
CVE-2025-22952 at a Glance
How to Fix CVE-2025-22952
To remediate this vulnerability, upgrade all affected Github.com/usememos/memos dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/usememos/memos to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/usememos/memos
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-22952, inspect your project dependencies for Github.com/usememos/memos:
inspect dependencies for github.com/usememos/memos
Analyze the terminal output to locate any version of Github.com/usememos/memos in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In Github.com/usememos/memos, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-22952 Affected Github.com/usememos/memos Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/usememos/memos
|
Go |
≤ 0.24.0
|
|
References
Frequently Asked Questions
What is CVE-2025-22952?
Which Github.com/usememos/memos versions are affected?
What version fixes CVE-2025-22952?
Is github.com/usememos/memos affected?
What CWE is associated with CVE-2025-22952?
How can I check Go dependencies for CVE-2025-22952?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wfxg-v3j4-7qmj",
"modified" : "2025-03-03T19:40:51Z",
"published" : "2025-02-27T21:32:17Z",
"aliases" : [ "CVE-2025-22952" ],
"summary" : "Memos Server-Side Request Forgery (SSRF)",
"details" : "elestio memos v0.23.0 is vulnerable to Server-Side Request Forgery (SSRF) due to insufficient validation of user-supplied URLs, which can be exploited to perform SSRF attacks.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/usememos/memos"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.24.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-22952"
}, {
"type" : "WEB",
"url" : "https://github.com/usememos/memos/issues/4413"
}, {
"type" : "WEB",
"url" : "https://github.com/usememos/memos/pull/4421"
}, {
"type" : "WEB",
"url" : "https://github.com/usememos/memos/pull/4428"
}, {
"type" : "WEB",
"url" : "https://github.com/usememos/memos/commit/f17774cb3b9612495d89576a91ab3480018cb0b6"
}, {
"type" : "WEB",
"url" : "https://github.com/usememos/memos/commit/f8c973c938742827baaf6665cfe66805dc8e8d02"
}, {
"type" : "WEB",
"url" : "https://elest.io/open-source/memos"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/usememos/memos"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-918" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-02-28T17:46:22Z",
"nvd_published_at" : "2025-02-27T20:16:04Z"
}
}