CVE-2022-2597: Visual Portfolio < 2.19.0 - Contributor+ CSS Injection
Vulnerability summary
CVE-2022-2597 is a medium (CVSS 5.4) Incorrect Authorization vulnerability in unknown visual portfolio, photo gallery & post grid. EPSS estimates a 0.52% chance of exploitation in the next 30 days, higher than 43.5% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 05-09-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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
CVSS metrics
2 scores · 2 sources · 1 version- wordfenceSource4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:NDiffers
EPSS trend
Probability
0.52%
Chance of exploitation in the next 30 days
Percentile
44%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.52% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (wpscan.com)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-863Incorrect AuthorizationThe product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.
- CWE-74Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.
Affected systems
Unknown1 product
- visual portfolio, photo gallery & post grid≥ 2.19.0, < 2.19.0
Visualportfolio1 product
Wordpress1 product
- visual-portfolio≤ 2.18.0 (fixed in 2.19.0)
3 vendors · 3 products
References
2 links- wpscan.com/vulnerability/3ffcee7c-1e03-448c-8006-a9405658cdb7X Refsource MISCExploitThird Party Advisory