CVE-2022-2597 Visual Portfolio < 2.19.0 - Contributor+ CSS Injection

Medium 5.4 Published Updated

Contributors can inject arbitrary CSS into saved layouts due to missing authorization checks in REST endpoints of the Visual Portfolio WordPress plugin.

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

CVE-2022-2597 is a medium-severity missing authorization vulnerability in Unknown Visual Portfolio, Photo Gallery & Post Grid, published on 5 Sep 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

The Visual Portfolio, Photo Gallery & Post Grid WordPress plugin before 2.19.0 does not have proper authorisation checks in some of its REST endpoints, allowing users with a role as low as contributor to call them and inject arbitrary CSS in arbitrary saved layouts

Weakness: CWE-863

Which versions are affected by CVE-2022-2597?

It affects 1 product.

Products include Visualportfolio Visual Portfolio\, Photo Gallery \& Post Grid.

How do I fix CVE-2022-2597?

No fix has been published for CVE-2022-2597 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2022-2597 being exploited?

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

Sources

Also known as GHSA-wqvx-8x2r-w74f.

Is CVE-2022-2597 in your software?

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

Check your SBOMs for free