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-24050: n/a

0
Medium
VulnerabilityCVE-2024-24050cvecve-2024-24050
Published: Wed Mar 20 2024 (03/20/2024, 00:00:00 UTC)
Source: CVE Database V5

Description

Cross Site Scripting (XSS) vulnerability in Sourcecodester Workout Journal App 1.0 allows attackers to run arbitrary code via parameters firstname and lastname in /add-user.php.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/26/2026, 10:20:47 UTC

Technical Analysis

CVE-2024-24050 is a medium severity Cross Site Scripting (XSS) vulnerability affecting Sourcecodester Workout Journal App version 1.0. The vulnerability arises from insufficient input validation and output encoding in the /add-user.php script, specifically in the firstname and lastname parameters. An attacker can craft malicious input containing executable JavaScript code that, when processed by the vulnerable endpoint and viewed by other users, executes in their browsers. This can lead to unauthorized actions such as session hijacking, cookie theft, or redirection to malicious sites. The CVSS vector indicates the attack can be performed remotely over the network without privileges but requires user interaction (e.g., clicking a malicious link). The vulnerability impacts data integrity but not confidentiality or availability directly. No patches or mitigations have been officially released, and no active exploitation has been reported. The CWE-79 classification confirms this is a classic reflected or stored XSS issue. This vulnerability highlights the importance of proper input sanitization and output encoding in web applications to prevent script injection attacks.

Potential Impact

The primary impact of CVE-2024-24050 is on the integrity of user data and the security of user sessions within the affected application. Successful exploitation can allow attackers to execute arbitrary JavaScript in the context of the victim’s browser, potentially leading to session hijacking, unauthorized actions on behalf of the user, phishing attacks, or defacement of the web interface. While confidentiality and availability are not directly compromised, the indirect effects of session compromise or phishing can lead to broader security breaches. Organizations using the Workout Journal App may face reputational damage, loss of user trust, and potential compliance issues if user data is manipulated or stolen. Since the vulnerability requires user interaction, the risk can be mitigated somewhat by user awareness, but the widespread use of this app in fitness or health-related environments could make it an attractive target for attackers seeking to exploit trust relationships.

Mitigation Recommendations

To mitigate CVE-2024-24050, organizations should immediately review and sanitize all user inputs, especially the firstname and lastname parameters in /add-user.php, using robust server-side validation and context-appropriate output encoding to neutralize any injected scripts. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in browsers. If possible, disable or restrict the vulnerable functionality until a patch or update is available. Educate users to avoid clicking suspicious links and implement web application firewalls (WAFs) with rules to detect and block XSS payloads targeting this endpoint. Monitor logs for unusual input patterns or error messages that could indicate attempted exploitation. Engage with the vendor or community to obtain or develop patches and apply them promptly once available. Conduct regular security testing, including automated scanning and manual penetration testing, to identify and remediate similar vulnerabilities proactively.

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

Technical Details

Data Version
5.1
Assigner Short Name
mitre
Date Reserved
2024-01-25T00:00:00.000Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6d56b7ef31ef0b5706b0

Added to database: 2/25/2026, 9:44:54 PM

Last enriched: 2/26/2026, 10:20:47 AM

Last updated: 4/11/2026, 10:11:19 PM

Views: 17

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