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

Medium 5.4 Published Updated

Attackers can inject stored XSS payloads via user nicknames when API functions are enabled, affecting users viewing articles.

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-2021-37392?

CVE-2021-37392 is a medium-severity cross-site scripting vulnerability in n/a, published on 26 Jul 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

In RPCMS v1.8 and below, the "nickname" variable is not properly sanitized before being displayed on page. When the API functions are enabled, the attacker can use API to update user nickname with XSS payload and achieve stored XSS. Users who view the articles published by the injected user will trigger the XSS.

Weakness: CWE-79

Which versions are affected by CVE-2021-37392?

It affects 1 product.

Products include Rpcms Rpcms.

How do I fix CVE-2021-37392?

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

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

Sources

Also known as GHSA-vxfx-x8fg-rmj4.

Is CVE-2021-37392 in your software?

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

Check your SBOMs for free