Advisory

GO-2023-1566

Also known as: CVE-2022-25978, GHSA-9w8x-5hv5-r6gw

Summary

Cross site scripting in github.com/usememos/memos

Details

A malicious actor can introduce links starting with a "javascript:" scheme due to insufficient checks on external resources. This can be used as a part of Cross-site Scripting (XSS) attack.

Severity

Not rated by the source.

Dates

Published
2023-02-15 23:55 UTC
Modified
2024-05-20 16:03 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: Go Vulnerability Database · CC BY 4.0

Sources & licences