CVE-2026-42451: Grimmory - Stored XSS
- Cve: CVE-2026-42451
- Name: Grimmory - Stored XSS
- 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.
- Impact: Attackers can execute scripts in victim's browser, enabling session theft and account takeover including admin access.
- Remediation: Update to version 2.3.1 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec, information_disclosure, privilege_escalation
- Requirement type: user_interaction
- Requirements: Victim must open crafted EPUB file
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.3
- Cvss vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L
- Epss score: 0.00136
- Epss percentile: 0.03007
- Assignee: [email protected]
- Published at: 2026-05-08T23:16:38Z
- Age in days: 200
- Modified at: 2026-07-24T21:10:00Z
- References total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-42451
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
References
| Url | Source | Tags |
|---|---|---|
| http://github.com/grimmory-tools/grimmory/releases/tag/v2.3.1 | nvd | |
| https://github.com/grimmory-tools/grimmory/security/advisories/GHSA-frv6-5wq5-9p24 | nvd |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| grimmory-tools/grimmory | releases, security_advisory | yes | /v1/repositories/grimmory-tools/grimmory |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts