CVE-2018-13022 Cross-site scripting in n/a

Medium 6.1 Published Updated

Attackers can execute arbitrary JavaScript via a modified URL path on the router's API 404 page, potentially compromising user sessions.

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-2018-13022?

CVE-2018-13022 is a medium-severity cross-site scripting vulnerability in n/a, published on 27 Nov 2018. 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

Cross-site scripting vulnerability in the API 404 page on Xiaomi Mi Router 3 version 2.22.15 allows attackers to execute arbitrary JavaScript via a modified URL path.

Weakness: CWE-79

Which versions are affected by CVE-2018-13022?

It affects 1 product.

Products include Mi Miwifi Os.

How do I fix CVE-2018-13022?

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

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

Sources

Also known as GHSA-qgp9-w7fv-762j.

Is CVE-2018-13022 in your software?

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

Check your SBOMs for free