Loading...
Skip to main content

CVE-2025-50738 — Vulnerability in github.com/usememos/memos — CVE...

MEDIUM

Memos has Cross-Site Scripting (XSS) Vulnerability in Image URLs

Published July 29, 2025Updated August 22, 2025Source: osv

Summary

The Memos application, up to version v0.24.3, allows for the embedding of markdown images with arbitrary URLs. When a user views a memo containing such an image, their browser automatically fetches the image URL without explicit user consent or interaction beyond viewing the memo. This can be exploited by an attacker to disclose the viewing user's IP address, browser User-Agent string, and potentially other request-specific information to the attacker-controlled server, leading to information disclosure and user tracking.

Advisory Timeline

  • First published July 29, 2025 (440 days ago).
  • Last revised August 22, 2025 — 24 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update github.com/usememos/memos to 0.24.4 or later
go get github.com/usememos/memos@v0.24.4

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: go (1).

PackageEcosystemAffectedFixed In
github.com/usememos/memos
go
All versions0.24.4

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-200
    Information ExposureMITRE
  • CWE-79
    Cross-site Scripting (XSS)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
A
Scope
—
Confidentiality
—
Integrity
—
Availability
—

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N/E:P

Frequently Asked Questions

What is CVE-2025-50738?
Memos has Cross-Site Scripting (XSS) Vulnerability in Image URLs This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 8.8/10).
How do I check if my project is affected by CVE-2025-50738?
CVE-2025-50738 affects github.com/usememos/memos. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-50738 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.8

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-hfcf-79gh-f3jc
GO-2025-3831

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies