# CVE-2022-2543: Visual Portfolio < 2.18.0 - Unauthenticated CSS Injection

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-09-05T12:35:20.000Z
- Modified: 2026-06-17T04:42:05.583Z
- Weaknesses: CWE-862
- Assigned by: WPScan

## Description

The Visual Portfolio, Photo Gallery & Post Grid WordPress plugin before 2.18.0 does not have proper authorisation checks in some of its REST endpoints, allowing unauthenticated users to call them and inject arbitrary CSS in arbitrary saved layouts

(As written by CVE List.)

## Affected

- Unknown Visual Portfolio, Photo Gallery & Post Grid: from 2.18.0 before 2.18.0
- visualportfolio visual_portfolio,_photo_gallery_&_post_grid: before 2.18.0

## References

- <https://wpscan.com/vulnerability/5dc8b671-f2fa-47be-8664-9005c4fdbea8> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2022-2543](https://www.cve.org/CVERecord?id=CVE-2022-2543), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-2543](https://nvd.nist.gov/vuln/detail/CVE-2022-2543), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-2543 · Whole record: https://cve.day/CVE-2022-2543.json · Rebuilt by cve.day 2026-11-25T22:58:14.662Z
