Advisory

GHSA-hfcf-79gh-f3jc

Also known as: CVE-2025-50738, GO-2025-3831

Summary

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

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-07-29 15:31 UTC
Modified
2025-08-22 21:08 UTC

Affected packages and fixes

github.com/usememos/memos

Go · All systems

Affected

  • introduced 0, fixed 0.24.4 (semver)

Fixed versions

0.24.4

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences