# CVE-2026-42451: Grimmory: Stored XSS via Malicious EPUB Enables Session Token Theft

- Severity: Medium 6.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L`
- 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.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-05-08T22:51:21.920Z
- Modified: 2026-07-24T21:10:00.143Z
- Weaknesses: CWE-79, CWE-80
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Grimmory is a self-hosted digital library. Prior to version 2.3.1, a stored cross-site scripting (XSS) vulnerability in Grimmory's browser-based EPUB reader allows an attacker to embed arbitrary JavaScript in a crafted EPUB file. When a victim opens the book, the script executes in their browser with full access to the Grimmory application's session context. This can enable session token theft and account takeover, including administrative access if an administrator opens the affected book. This issue has been patched in version 2.3.1.

(As written by CVE List.)

## Affected

- grimmory-tools grimmory: < 2.3.1

## References

- <https://github.com/grimmory-tools/grimmory/security/advisories/GHSA-frv6-5wq5-9p24>
- <http://github.com/grimmory-tools/grimmory/releases/tag/v2.3.1>

## Sources

- CVE List: [CVE-2026-42451](https://www.cve.org/CVERecord?id=CVE-2026-42451), CVE Terms of Use, modified 2026-05-12
- NVD: [CVE-2026-42451](https://nvd.nist.gov/vuln/detail/CVE-2026-42451), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-42451 · Whole record: https://cve.day/CVE-2026-42451.json · Rebuilt by cve.day 2026-11-25T22:59:21.125Z
