{"id":"CVE-2023-26131","aliases":["EUVD-2023-1536","GHSA-g47h-fgcw-g4ph"],"status":"published","title":"Algernon engine and themes vulnerable to Cross-site Scripting","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.","severity":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00691,"percentile":0.53284,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2023-05-31T05:00:01Z","modified":"2026-06-17T05:42:44Z","affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/xyproto/algernon","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.15.2"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/xyproto/algernon","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.15.2"}]}]}],"products":[{"vendor":"algernon_project","product":"algernon"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMXYPROTOALGERNONENGINE-3312111","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMXYPROTOALGERNONTHEMES-3312112","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/xyproto/algernon/blob/aab484608651852d02a8a93f40baf53ed93e639a/engine/handlers.go%23L514","tags":["x_transferred","Broken Link"]},{"url":"https://github.com/xyproto/algernon/blob/aab484608651852d02a8a93f40baf53ed93e639a/themes/html.go%23L145","tags":["x_transferred","Broken Link"]},{"url":"https://github.com/xyproto/algernon/blob/aab484608651852d02a8a93f40baf53ed93e639a/engine/handlers.go%23L512","tags":["x_transferred","Broken Link"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26131","tags":["advisory"]},{"url":"https://github.com/xyproto/algernon/blob/aab484608651852d02a8a93f40baf53ed93e639a/engine/handlers.go#L512","tags":["web"]},{"url":"https://github.com/xyproto/algernon/blob/aab484608651852d02a8a93f40baf53ed93e639a/engine/handlers.go#L514","tags":["web"]},{"url":"https://github.com/xyproto/algernon/blob/aab484608651852d02a8a93f40baf53ed93e639a/themes/html.go#L145","tags":["web"]},{"url":"https://github.com/advisories/GHSA-g47h-fgcw-g4ph"},{"url":"https://github.com/xyproto/algernon","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2023-26131","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.\r\r","status":"published","published":"2023-05-31T05:00:01.493Z","modified":"2025-01-09T20:38:45.687Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P","level":"medium","assessor":"cna"}],"cwes":["CWE-79","CWE-79"],"updated_at":"2026-11-02T14:35:15.434947Z"}],"euvd":[{"id":"EUVD-2023-1536","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.\r\r","status":"published","published":"2023-05-31T05:00:01Z","modified":"2025-01-09T20:38:45Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P","level":"medium"}],"updated_at":"2026-11-03T00:04:22.117545Z"}],"ghsa":[{"id":"GHSA-g47h-fgcw-g4ph","title":"Algernon engine and themes vulnerable to Cross-site Scripting","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.\n\n","status":"published","published":"2023-05-31T06:30:39Z","modified":"2023-11-04T05:03:46Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:12.407027Z"}],"nvd":[{"id":"CVE-2023-26131","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.\r\r","status":"published","published":"2023-05-31T05:15:10.18Z","modified":"2026-06-17T05:42:44.783Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:08:03.795015Z"}],"osv":[{"id":"GHSA-g47h-fgcw-g4ph","title":"Algernon engine and themes vulnerable to Cross-site Scripting","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.\n\n","status":"published","published":"2023-05-31T06:30:39Z","modified":"2023-11-08T04:11:59.253746Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:47.119724Z"}]}}
