CVE-2023-1852 SourceCodester Online Payroll System deduction_edit.php cross site scripting

Low 3.5 Published Updated

Attacker can inject malicious scripts via the description field in the deduction edit page, potentially compromising user sessions.

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-1852?

CVE-2023-1852 is a low-severity cross-site scripting vulnerability in SourceCodester Online Payroll System, published on 5 Apr 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 classified as problematic was found in SourceCodester Online Payroll System 1.0. This vulnerability affects unknown code of the file /admin/deduction_edit.php. The manipulation of the argument description leads to cross site scripting. The attack can be initiated remotely. The identifier of this vulnerability is VDB-224992.

Weakness: CWE-79

Which versions are affected by CVE-2023-1852?

It affects 1 product.

Products include Online Payroll System Project Online Payroll System.

How do I fix CVE-2023-1852?

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

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

Sources

Also known as GHSA-rpxj-qw8x-q3hf.

Is CVE-2023-1852 in your software?

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

Check your SBOMs for free