CVE-2023-5286 SourceCodester Expense Tracker App Category add_category.php cross site scripting

Low 3.5 Published Updated

Attackers can inject malicious scripts via the category name field in the Expense Tracker App, potentially leading to session hijacking or code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2023-5286?

CVE-2023-5286 is a low-severity cross-site scripting vulnerability in SourceCodester Expense Tracker App, published on 29 Sep 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

A vulnerability, which was classified as problematic, has been found in SourceCodester Expense Tracker App v1. Affected by this issue is some unknown functionality of the file add_category.php of the component Category Handler. The manipulation of the argument category_name leads to cross site scripting. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. VDB-240914 is the identifier assigned to this vulnerability.

Weakness: CWE-79

Which versions are affected by CVE-2023-5286?

It affects 1 product.

Products include Oretnom23 Expense Tracker.

How do I fix CVE-2023-5286?

No fix has been published for CVE-2023-5286 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-2023-5286 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-5286 exists.

Sources

Also known as GHSA-598q-vccj-qf8x.

Is CVE-2023-5286 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free