CVE-2026-8867
Stored XSS in Post Category Gallery WordPress Plugin
Publication date: 2026-05-27
Last updated on: 2026-05-27
Assigner: Wordfence
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| post_category_gallery | post_category_gallery | to 1.0.0 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-79 | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
The Post Category Gallery plugin for WordPress has a Stored Cross-Site Scripting (XSS) vulnerability in versions up to and including 1.0.0. This occurs because the plugin does not properly sanitize or escape user-supplied shortcode attributes such as total_width, color_scheme, and caption_font_size. These attributes are directly concatenated into HTML attribute values within the sc_horcatbar() function. As a result, authenticated users with contributor-level access or higher can inject malicious scripts that execute whenever someone views the affected page.
How can this vulnerability impact me? :
This vulnerability allows attackers with contributor-level access or above to inject arbitrary web scripts into pages. These scripts execute in the browsers of users who visit the infected pages, potentially leading to theft of user credentials, session hijacking, defacement, or distribution of malware. Because the vulnerability is stored, the malicious code persists on the site and affects all visitors to the compromised pages.