CVE-2024-8142 SourceCodester Daily Calories Monitoring Tool delete-calorie.php cross site scripting
Remote attackers can inject malicious scripts via the calorie argument in delete-calorie.php, 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-8142?
CVE-2024-8142 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 declared as problematic. This vulnerability affects unknown code of the file /endpoint/delete-calorie.php. The manipulation of the argument calorie leads to cross site scripting. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.
Weakness: CWE-79
Which versions are affected by CVE-2024-8142?
It affects 1 product.
Products include Rems Daily Calories Monitoring Tool.
How do I fix CVE-2024-8142?
No fix has been published for CVE-2024-8142 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-8142 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-8142 exists.
Other vulnerabilities in SourceCodester Daily Calories Monitoring Tool
Sources
Also known as GHSA-qfw5-995h-4gjp.