# CVE-2023-26131: Algernon engine and themes vulnerable to Cross-site Scripting

- Severity: Medium 5.4 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.69%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2023-05-31T05:00:01.493Z
- Modified: 2026-06-17T05:42:44.783Z
- Also known as: GHSA-g47h-fgcw-g4ph
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: snyk

## 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.

(As written by CVE List.)

## Affected

- github.com/xyproto/algernon/engine: before *
- github.com/xyproto/algernon/themes: before *
- github.com/xyproto/algernon (Go): up to 1.15.2
- algernon_project algernon: no versions given

## Every score

- snyk: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMXYPROTOALGERNONENGINE-3312111> (exploit, third-party-advisory, web)
- <https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMXYPROTOALGERNONTHEMES-3312112> (exploit, third-party-advisory, web)
- <https://github.com/xyproto/algernon/blob/aab484608651852d02a8a93f40baf53ed93e639a/engine/handlers.go%23L514> (broken-link)
- <https://github.com/xyproto/algernon/blob/aab484608651852d02a8a93f40baf53ed93e639a/themes/html.go%23L145> (broken-link)
- <https://github.com/xyproto/algernon/blob/aab484608651852d02a8a93f40baf53ed93e639a/engine/handlers.go%23L512> (broken-link)
- <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)

## Sources

- CVE List: [CVE-2023-26131](https://www.cve.org/CVERecord?id=CVE-2023-26131), CVE Terms of Use, modified 2025-01-09
- GitHub Advisory Database: [GHSA-g47h-fgcw-g4ph](https://github.com/advisories/GHSA-g47h-fgcw-g4ph), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2023-26131](https://nvd.nist.gov/vuln/detail/CVE-2023-26131), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-26131 · Whole record: https://cve.day/CVE-2023-26131.json · Rebuilt by cve.day 2026-11-25T22:58:24.484Z
