blob: 829cda3077af5b33057a32f79aecd85c181975c3 [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2023-1566",
"modified": "0001-01-01T00:00:00Z",
"published": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2022-25978",
"GHSA-9w8x-5hv5-r6gw"
],
"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.",
"affected": [
{
"package": {
"name": "github.com/usememos/memos",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.10.4-0.20230211093429-b11d2130a084"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "github.com/usememos/memos/server",
"symbols": [
"NewServer",
"Server.registerResourcePublicRoutes",
"Server.registerResourceRoutes"
]
}
]
}
}
],
"references": [
{
"type": "WEB",
"url": "https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUSEMEMOSMEMOSSERVER-3319070"
},
{
"type": "FIX",
"url": "https://github.com/usememos/memos/commit/b11d2130a084385eb65c3761a3c841ebe9f81ae8"
},
{
"type": "REPORT",
"url": "https://github.com/usememos/memos/issues/1026"
}
],
"credits": [
{
"name": "Kahla"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2023-1566"
}
}