CVE-2026-8867: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in fides-it Post Categories Gallery
The Post Category Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'postcategorygallery' shortcode in versions up to, and including, 1.0.0. This is due to insufficient input sanitization and output escaping on user-supplied shortcode attributes (such as total_width, color_scheme, and caption_font_size) inside the sc_horcatbar() function, which are concatenated directly into HTML attribute values. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI Analysis
Technical Summary
The Post Category Gallery plugin for WordPress suffers from a stored XSS vulnerability due to improper neutralization of input in the 'postcategorygallery' shortcode. Specifically, attributes like total_width, color_scheme, and caption_font_size are not properly sanitized or escaped in the sc_horcatbar() function, leading to direct injection of arbitrary scripts into HTML attribute values. This enables authenticated attackers with contributor-level permissions or higher to embed malicious JavaScript that executes in the context of any user viewing the compromised page.
Potential Impact
An attacker with contributor-level access or above can exploit this vulnerability to inject persistent malicious scripts into pages using the vulnerable shortcode. This can lead to the execution of arbitrary JavaScript in the browsers of users who visit the infected pages, potentially resulting in session hijacking, defacement, or other client-side attacks. The vulnerability does not affect availability but impacts confidentiality and integrity to a limited extent as indicated by the CVSS vector.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict contributor-level access to trusted users only and consider disabling or removing the Post Category Gallery plugin if possible to prevent exploitation.
CVE-2026-8867: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in fides-it Post Categories Gallery
Description
The Post Category Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'postcategorygallery' shortcode in versions up to, and including, 1.0.0. This is due to insufficient input sanitization and output escaping on user-supplied shortcode attributes (such as total_width, color_scheme, and caption_font_size) inside the sc_horcatbar() function, which are concatenated directly into HTML attribute values. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
CVSS v3.1
Score 6.4medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Post Category Gallery plugin for WordPress suffers from a stored XSS vulnerability due to improper neutralization of input in the 'postcategorygallery' shortcode. Specifically, attributes like total_width, color_scheme, and caption_font_size are not properly sanitized or escaped in the sc_horcatbar() function, leading to direct injection of arbitrary scripts into HTML attribute values. This enables authenticated attackers with contributor-level permissions or higher to embed malicious JavaScript that executes in the context of any user viewing the compromised page.
Potential Impact
An attacker with contributor-level access or above can exploit this vulnerability to inject persistent malicious scripts into pages using the vulnerable shortcode. This can lead to the execution of arbitrary JavaScript in the browsers of users who visit the infected pages, potentially resulting in session hijacking, defacement, or other client-side attacks. The vulnerability does not affect availability but impacts confidentiality and integrity to a limited extent as indicated by the CVSS vector.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict contributor-level access to trusted users only and consider disabling or removing the Post Category Gallery plugin if possible to prevent exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-05-18T20:16:13.330Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a169061e29bf47b509e16f9
Added to database: 05/27/2026, 06:34:09 UTC
Last enriched: 05/27/2026, 07:03:36 UTC
Last updated: 07/31/2026, 19:23:00 UTC
Views: 37
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.