Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 96%

CVE-2026-42451: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in grimmory-tools grimmory

0
Medium
VulnerabilityCVE-2026-42451cvecve-2026-42451cwe-79cwe-80
Published: 05/08/2026 (05/08/2026, 22:51:21 UTC)
Source: CVE Database V5
Vendor/Project: grimmory-tools
Product: grimmory

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.

CVSS v3.1

Score 6.3medium

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
Low
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L

Affected software

GitHub Actionsmore threats →ai
grimmory-tools/grimmory
pkg:github/grimmory-tools/grimmory
Affected versions
<2.3.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/16/2026, 10:03:00 UTC

Technical Analysis

CVE-2026-42451 is a stored XSS vulnerability in the Grimmory digital library software's EPUB reader component. The flaw allows attackers to inject arbitrary JavaScript into EPUB files. When these files are opened by users, the script executes in the context of the Grimmory application session, enabling compromise of user sessions and potential account takeover. The vulnerability affects Grimmory versions before 2.3.1 and has been fixed in version 2.3.1.

Potential Impact

Successful exploitation can lead to theft of session tokens and unauthorized account access, including administrative privileges if an administrator opens the malicious EPUB file. This can result in significant compromise of the affected Grimmory instance and its data integrity.

Mitigation Recommendations

Upgrade Grimmory to version 2.3.1 or later, where this vulnerability has been patched. No other mitigations are specified or required once the update is applied.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-27T13:55:58.693Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69fe6c74cbff5d86103b91bd

Added to database: 05/08/2026, 23:06:28 UTC

Last enriched: 05/16/2026, 10:03:00 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 105

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses