Advisory

GHSA-c8jh-vcjh-fx2w

Also known as: CVE-2022-4690, GO-2022-1189

Summary

usememos/memos vulnerable to stored cross-site scripting (XSS)

Details

usememos/memos is an open-source, self-hosted memo hub with knowledge management and socialization. Memos prior to 0.9.0 has a feature to upload file and display it, and by uploading a crafted SVG file, an attacker could perform a stored cross-site scripting attack with the image direct link. This was patched in version 0.9.0.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-12-23 12:30 UTC
Modified
2024-08-21 16:28 UTC

Affected packages and fixes

github.com/usememos/memos

Go · All systems

Affected

  • introduced 0, fixed 0.9.0 (semver)

Fixed versions

0.9.0

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