CVE-2022-21238 Cross-site scripting in InRouter302

Medium 5.4 Published Updated

An attacker can execute arbitrary JavaScript via a crafted HTTP request to the info.jsp page of the InRouter302 router.

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-2022-21238?

CVE-2022-21238 is a medium-severity cross-site scripting vulnerability in InHand Networks InRouter302, published on 12 May 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

A cross-site scripting (xss) vulnerability exists in the info.jsp functionality of InHand Networks InRouter302 V3.5.4. A specially-crafted HTTP request can lead to arbitrary Javascript execution. An attacker can send an HTTP request to trigger this vulnerability.

Weakness: CWE-79, CWE-80

Which versions are affected by CVE-2022-21238?

It affects 1 product.

Products include Inhandnetworks Inrouter302 Firmware.

How do I fix CVE-2022-21238?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-21238 exists.

Sources

Also known as GHSA-hmwh-6pgm-776g.

Is CVE-2022-21238 in your software?

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

Check your SBOMs for free