CVE-2023-5791 SourceCodester Sticky Notes App add-note.php cross site scripting

Low 3.5 Published Updated

Remote attackers can inject malicious scripts via noteTitle or noteContent in Sticky Notes 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-5791?

CVE-2023-5791 is a low-severity cross-site scripting vulnerability in SourceCodester Sticky Notes App, published on 26 Oct 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, was found in SourceCodester Sticky Notes App 1.0. This affects an unknown part of the file endpoint/add-note.php. The manipulation of the argument noteTitle/noteContent 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. The identifier VDB-243597 was assigned to this vulnerability.

Weakness: CWE-79

Which versions are affected by CVE-2023-5791?

It affects 1 product.

Products include Remyandrade Sticky Notes App.

How do I fix CVE-2023-5791?

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

There is no known exploitation of CVE-2023-5791 in the wild and no public exploit code.

Sources

Also known as GHSA-9jvg-rv57-qj93.

Is CVE-2023-5791 in your software?

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

Check your SBOMs for free