GitHub Advisoryadvisory · Go
GHSA-g47h-fgcw-g4ph Algernon engine and themes vulnerable to Cross-site Scripting
MEDIUM
Official page ↗
- Aliases
- CVE-2023-26131
- Ecosystem
- Go
- Packages
- github.com/xyproto/algernon
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2023-06-06
Affected packages
• Go github.com/xyproto/algernon: <= 1.15.2 (no fix yet)
Description
All versions of the package github.com/xyproto/algernon/engine; all versions of the package github.com/xyproto/algernon/themes are vulnerable to Cross-site Scripting (XSS) via the `themes.NoPage(filename, theme)` function due to improper user input sanitization. Exploiting this vulnerability is possible when a file/resource is not found.
Related
Alias · CVE (1)
- CVE-2023-26131 All versions of the package github.com/xyproto/algernon/engine; all versions of the package github.com/xyproto/algernon/themes are… vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-26131 advisory
- https://github.com/xyproto/algernon package
- https://github.com/xyproto/algernon/blob/aab484608651852d02a8a93f40baf53ed93e639a/engine/handlers.go#L512 web
- https://github.com/xyproto/algernon/blob/aab484608651852d02a8a93f40baf53ed93e639a/engine/handlers.go#L514 web
- https://github.com/xyproto/algernon/blob/aab484608651852d02a8a93f40baf53ed93e639a/themes/html.go#L145 web
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMXYPROTOALGERNONENGINE-3312111 web
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMXYPROTOALGERNONTHEMES-3312112 web