CVE-2024-8141 SourceCodester Daily Calories Monitoring Tool add-calorie.php cross site scripting
Attackers can inject malicious scripts via calorie_date or calorie_name parameters in the Daily Calories Monitoring Tool, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-8141?
CVE-2024-8141 is a medium-severity cross-site scripting vulnerability in SourceCodester Daily Calories Monitoring Tool, published on 25 Aug 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability was found in SourceCodester Daily Calories Monitoring Tool 1.0. It has been classified as problematic. This affects an unknown part of the file /endpoint/add-calorie.php. The manipulation of the argument calorie_date/calorie_name leads to cross site scripting. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.
Weakness: CWE-79
Which versions are affected by CVE-2024-8141?
It affects 1 product.
Products include Rems Daily Calories Monitoring Tool.
How do I fix CVE-2024-8141?
No fix has been published for CVE-2024-8141 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-8141 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-8141 exists.
Other vulnerabilities in SourceCodester Daily Calories Monitoring Tool
Sources
Also known as GHSA-gxc8-5x4m-8ggf.