{"id":"CVE-2023-26131","aliases":["CVE-2023-26131","GHSA-g47h-fgcw-g4ph"],"related":[],"kind":"vulnerability","state":"published","title":"Algernon engine and themes vulnerable to Cross-site Scripting","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2023-05-31T05:00:01.493Z","modified":"2026-06-17T05:42:44.783Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"*","status":"affected"}],"product":"github.com/xyproto/algernon/engine","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"*","status":"affected"}],"product":"github.com/xyproto/algernon/themes","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.15.2"}],"ecosystem":"Go","package":"github.com/xyproto/algernon","purl":"pkg:golang/github.com/xyproto/algernon","source":"ghsa"},{"ranges":[],"vendor":"algernon_project","product":"algernon","cpe":"cpe:2.3:a:algernon_project:algernon:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMXYPROTOALGERNONENGINE-3312111","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMXYPROTOALGERNONTHEMES-3312112","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/xyproto/algernon/blob/aab484608651852d02a8a93f40baf53ed93e639a/engine/handlers.go%23L514","tags":["broken-link","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/xyproto/algernon/blob/aab484608651852d02a8a93f40baf53ed93e639a/themes/html.go%23L145","tags":["broken-link","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/xyproto/algernon/blob/aab484608651852d02a8a93f40baf53ed93e639a/engine/handlers.go%23L512","tags":["broken-link","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26131","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/xyproto/algernon","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/xyproto/algernon/blob/aab484608651852d02a8a93f40baf53ed93e639a/engine/handlers.go#L512","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/xyproto/algernon/blob/aab484608651852d02a8a93f40baf53ed93e639a/engine/handlers.go#L514","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/xyproto/algernon/blob/aab484608651852d02a8a93f40baf53ed93e639a/themes/html.go#L145","tags":["web"],"sources":["ghsa"]}],"credits":["Alessio Della Libera - Snyk Research Team"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-01-09T20:38:30.723Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-26131","url":"https://www.cve.org/CVERecord?id=CVE-2023-26131","licence":"CVE Terms of Use","modified":"2025-01-09T20:38:45.687Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g47h-fgcw-g4ph","url":"https://github.com/advisories/GHSA-g47h-fgcw-g4ph","licence":"CC-BY-4.0","modified":"2023-11-08T04:11:59.253Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-26131","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26131","licence":"Public domain","modified":"2026-06-17T05:42:44.783Z"}],"updatedAt":"2026-11-25T22:58:24.484Z","epss":{"score":0.00691,"percentile":0.54106,"date":"2026-12-01T12:00:22.000Z"}}