CVE-2023-1851 SourceCodester Online Payroll System employee_add.php cross site scripting
An attacker can inject malicious scripts into the employee addition page of the Online Payroll System, 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-1851?
CVE-2023-1851 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 has been found in SourceCodester Online Payroll System 1.0. This affects an unknown part of the file /admin/employee_add.php. The manipulation of the argument of 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 associated identifier of this vulnerability is VDB-224991.
Weakness: CWE-79
Which versions are affected by CVE-2023-1851?
It affects 1 product.
Products include Online Payroll System Project Online Payroll System.
How do I fix CVE-2023-1851?
No fix has been published for CVE-2023-1851 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-1851 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-1851 exists.
Other vulnerabilities in SourceCodester Online Payroll System
- CVE-2023-1845 SourceCodester Online Payroll System employee_row.php sql injection
- CVE-2023-1846 SourceCodester Online Payroll System deduction_row.php sql injection
- CVE-2023-1847 SourceCodester Online Payroll System attendance.php sql injection
- CVE-2023-1848 SourceCodester Online Payroll System attendance_row.php sql injection
- CVE-2023-1849 SourceCodester Online Payroll System cashadvance_row.php sql injection
Sources
Also known as GHSA-jm2w-c893-7fjm.