CVE-2021-42841 Cross-site scripting in n/a

Medium 6.1 Published Updated

Remote attackers can execute scripts via crafted URLs to steal cookie-based authentication credentials in Insta HMS.

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

What is CVE-2021-42841?

CVE-2021-42841 is a medium-severity cross-site scripting vulnerability in n/a, published on 6 Jan 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Insta HMS before 12.4.10 is vulnerable to XSS because of improper validation of user-supplied input by multiple scripts. A remote attacker could exploit this vulnerability via a crafted URL to execute script in a victim's Web browser within the security context of the hosting Web site, once the URL is clicked. An attacker could use this vulnerability to steal the victim's cookie-based authentication credentials.

Weakness: CWE-79

Which versions are affected by CVE-2021-42841?

It affects 1 product.

Products include Practo Insta Hms.

How do I fix CVE-2021-42841?

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

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

Sources

Also known as GHSA-p7q5-gpw3-mqfx.

Is CVE-2021-42841 in your software?

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

Check your SBOMs for free