CVE-2026-4895
Stored XSS in GreenShift WordPress Plugin Allows Script Injection
Publication date: 2026-04-11
Last updated on: 2026-04-11
Assigner: Wordfence
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| greenshift | animation_and_page_builder_blocks | to 12.8.9 (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 GreenShift - Animation and Page Builder Blocks plugin for WordPress has a Stored Cross-Site Scripting (XSS) vulnerability in versions up to and including 12.8.9. This occurs because the function gspb_greenShift_block_script_assets() uses str_replace() to insert 'fetchpriority="high"' before 'src=' attributes in certain blocks without properly parsing the HTML. Contributors with at least contributor-level access can inject the string 'src=' into HTML attribute values, which causes the replacement to break out of the attribute context and allows injection of malicious HTML attributes like onfocus with JavaScript payloads. This enables attackers to inject arbitrary scripts that execute when users access the affected pages.
How can this vulnerability impact me? :
This vulnerability allows authenticated users with contributor-level access or higher to inject malicious scripts into pages. These scripts execute whenever any user views the infected page, potentially leading to unauthorized actions such as stealing user data, hijacking user sessions, or performing actions on behalf of users without their consent.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
The provided context does not include information on how this vulnerability affects compliance with common standards and regulations such as GDPR or HIPAA.