CVE-2026-42451 Details
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.
A stored cross-site scripting vulnerability has been identified in Grimmory, a self-hosted digital library, prior to version 2.3.1. This vulnerability allows an attacker to inject arbitrary JavaScript into a crafted EPUB file. When the file is opened in Grimmory's browser-based EPUB reader, the embedded script executes with full access to the application's session context. This could lead to session token theft and account takeover, including administrative access if an administrator opens the affected book.
Users are advised to upgrade to Grimmory version 2.3.1. If an immediate upgrade is not possible, book upload permissions should be restricted to trusted users only.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 8, 2026CISA-ADP
Assessed May 12, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://github.com/grimmory-tools/grimmory/releases/tag/v2.3.1 | [email protected] | Release NotesVendor |
| https://github.com/grimmory-tools/grimmory/security/advisories/GHSA-frv6-5wq5-9p24 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-80 | Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Grimmory | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 8, 2026 | New CVE Received | [email protected] |
Volerion