Affected by GO-2023-1461
and 10 other vulnerabilities
GO-2023-1461 : usememos/memos vulnerable to stored Cross-site Scripting in github.com/usememos/memos
GO-2023-1462 : usememos/memos vulnerable to stored Cross-site Scripting in github.com/usememos/memos
GO-2023-1465 : usememos/memos vulnerable to stored Cross-site Scripting in github.com/usememos/memos
GO-2023-1469 : usememos/memos vulnerable to stored Cross-site Scripting in github.com/usememos/memos
GO-2023-2036 : usememos/memos vulnerable to privilege escalation in github.com/usememos/memos
GO-2023-2038 : Account TakeOver Due to Improper Handling of JWT Tokens in usememos/memos in github.com/usememos/memos
GO-2023-2065 : Cross-Site Request Forgery (CSRF) in usememos/memos in github.com/usememos/memos
GO-2024-3046 : memos vulnerable to Server-Side Request Forgery in /api/resource in github.com/usememos/memos
GO-2024-3047 : memos vulnerable to Server-Side Request Forgery in /o/get/httpmeta in github.com/usememos/memos
GO-2024-3049 : memos vulnerable to Server-Side Request Forgery and Cross-site Scripting in github.com/usememos/memos
GO-2024-3088 : memos CORS Misconfiguration in server.go (GHSL-2024-034) in github.com/usememos/memos
Discover Packages
github.com/usememos/memos
server
profile
package
Version:
v0.9.1
Opens a new window with list of versions in this module.
Published: Dec 31, 2022
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 15
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Profile struct {
Mode string `json:"mode"`
Port int `json:"port"`
Data string `json:"data"`
DSN string `json:"dsn"`
Version string `json:"version"`
}
Profile is the configuration to start main server.
GetDevProfile will return a profile for dev or prod.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.