CVE-2026-4895: Greenshift <= 12.8.9 - Authenticated (Contributor+) Stored Cross-Site Scripting via disablelazy Attribute

Published Apr 11, 2026
·
Updated

The GreenShift - Animation and Page Builder Blocks plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 12.8.9 This is due to insufficient input sanitization and output escaping in the gspbgreenShiftblockscriptassets() function. The function uses strreplace() to insert 'fetchpriority="high"' before 'src=' attributes when processing greenshift-blocks/image blocks with the disablelazy attribute enabled. Because this replacement operates on the entire HTML string without parsing, contributors can inject the string 'src=' into HTML attribute values (such as class attributes). When the strreplace executes, the double quotes in the replacement string break out of the attribute context, allowing injection of malicious HTML attributes like onfocus with JavaScript payloads. 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.

Affected Software

1 affected component
GreenShift GreenShift - Animation and Page Builder Blocks<=12.8.9

Event History

Apr 11, 2026
CVE Published
via MITRE·01:24 AM
Data Sourced
via MITRE·01:24 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 AM
DescriptionSeverityWeakness
Nov 28, 58273
Event
via FIRST·07:35 AM

Frequently Asked Questions

1

What is the severity of CVE-2026-4895?

CVE-2026-4895 is classified as a medium severity vulnerability due to its potential for allowing stored cross-site scripting attacks.

2

How do I fix CVE-2026-4895?

To fix CVE-2026-4895, upgrade the GreenShift - Animation and Page Builder Blocks plugin to version 12.8.10 or later.

3

What systems are affected by CVE-2026-4895?

CVE-2026-4895 affects versions of the GreenShift - Animation and Page Builder Blocks plugin for WordPress up to and including 12.8.9.

4

What type of vulnerability is CVE-2026-4895?

CVE-2026-4895 is a stored cross-site scripting (XSS) vulnerability that can be exploited by authenticated users.

5

Who is vulnerable to CVE-2026-4895?

Users of the GreenShift - Animation and Page Builder Blocks plugin on WordPress who are running affected versions are vulnerable to CVE-2026-4895.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203