CVE-2022-1980 SourceCodester Product Show Room Site cross site scripting

Low 2.4 Published Updated

Authenticated attackers can inject malicious scripts via the Telephone field in the admin contact info page, potentially leading to session hijacking or code execution.

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

What is CVE-2022-1980?

CVE-2022-1980 is a low-severity cross-site scripting vulnerability in SourceCodester Product Show Room Site, published on 2 Jun 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

A vulnerability was found in SourceCodester Product Show Room Site 1.0. It has been rated as problematic. This issue affects the file /admin/?page=system_info/contact_info. The manipulation of the textbox Telephone with the input <script>alert(1)</script> leads to cross site scripting. The attack may be initiated remotely but requires authentication. Exploit details have been disclosed to the public.

Weakness: CWE-79

Which versions are affected by CVE-2022-1980?

It affects 1 product.

Products include Product Show Room Site Project Product Show Room Site.

How do I fix CVE-2022-1980?

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

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

Sources

Also known as GHSA-5xfc-vjrj-jr3w.

Is CVE-2022-1980 in your software?

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

Check your SBOMs for free