Advisory

GHSA-9w8x-5hv5-r6gw

Also known as: CVE-2022-25978, GO-2023-1566

Summary

Cross Site Scripting in usememos/memos

Details

All versions of the package github.com/usememos/memos/server prior to 0.11.0 are vulnerable to Cross-site Scripting (XSS) due to insufficient checks on external resources, which allows malicious actors to introduce links starting with a javascript: scheme.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-02-15 06:30 UTC
Modified
2025-03-19 15:28 UTC

Affected packages and fixes

github.com/usememos/memos

Go · All systems

Affected

  • introduced 0, fixed 0.10.4-0.20230211093429-b11d2130a084 (semver)

Fixed versions

0.10.4-0.20230211093429-b11d2130a084

Fix

  • Fixed version 0.10.4-0.20230211093429-b11d2130a084
    go get github.com/usememos/[email protected]

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