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…

CVE-2024-51921: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in midori scrollup

0
Unknown
VulnerabilityCVE-2024-51921cvecve-2024-51921
Published: Tue Nov 19 2024 (11/19/2024, 16:30:57 UTC)
Source: CVE Database V5
Vendor/Project: midori
Product: scrollup

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in midori scrollup scrollup allows DOM-Based XSS.This issue affects scrollup: from n/a through <= 1.1.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/02/2026, 09:13:12 UTC

Technical Analysis

CVE-2024-51921 identifies a DOM-based Cross-site Scripting (XSS) vulnerability in the midori scrollup JavaScript library, a tool commonly used to implement scroll-to-top functionality on web pages. The vulnerability stems from improper neutralization of user-supplied input during the generation of web page content, which allows attackers to inject malicious scripts into the DOM. When a victim interacts with a compromised page, these scripts execute within the victim's browser context, potentially leading to session hijacking, credential theft, or unauthorized actions. The affected versions include all releases up to and including 1.1, with no patch currently available as per the provided data. This vulnerability does not require prior authentication, increasing its risk profile, but does require user interaction to activate the malicious payload. No known exploits have been reported in the wild yet, but the presence of this vulnerability in a widely used UI component could facilitate attacks against numerous web applications that incorporate scrollup. The lack of a CVSS score necessitates an independent severity assessment based on the vulnerability's characteristics.

Potential Impact

The exploitation of this DOM-based XSS vulnerability can have significant impacts on organizations worldwide. Attackers can execute arbitrary JavaScript in the context of users' browsers, leading to theft of sensitive information such as cookies, session tokens, or personal data. This can result in account compromise, unauthorized transactions, or further network infiltration. The integrity of web applications is undermined as attackers can manipulate client-side scripts or content. Additionally, the availability of services could be indirectly affected if attackers use the vulnerability to conduct phishing or social engineering attacks. Organizations relying on midori scrollup for their user interface are at risk of reputational damage and regulatory penalties if user data is compromised. The vulnerability's ease of exploitation without authentication and its presence in client-side code make it a potent vector for widespread attacks, especially in sectors with high web traffic and sensitive user interactions.

Mitigation Recommendations

To mitigate CVE-2024-51921, organizations should first check for updates or patches from the midori scrollup maintainers and apply them promptly once available. In the absence of official patches, developers should sanitize and encode all user inputs that interact with scrollup-generated content to prevent script injection. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts and reduce the impact of potential XSS attacks. Conduct thorough code reviews focusing on DOM manipulation and input handling within the scrollup integration. Additionally, implement security-focused testing such as automated XSS scanners and manual penetration testing to identify and remediate injection points. Educate developers on secure coding practices related to client-side scripting and input validation. Finally, monitor web application logs and user reports for suspicious activities that might indicate exploitation attempts.

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
Patchstack
Date Reserved
2024-11-04T09:59:37.262Z
Cvss Version
null
State
PUBLISHED

Threat ID: 69cd7535e6bfc5ba1df0366e

Added to database: 4/1/2026, 7:42:45 PM

Last enriched: 4/2/2026, 9:13:12 AM

Last updated: 4/5/2026, 2:32:37 PM

Views: 2

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