Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-4895: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wpsoul Greenshift – animation and page builder blocks

0
Medium
VulnerabilityCVE-2026-4895cvecve-2026-4895cwe-79
Published: Sat Apr 11 2026 (04/11/2026, 01:24:58 UTC)
Source: CVE Database V5
Vendor/Project: wpsoul
Product: Greenshift – animation and page builder blocks

Description

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 gspb_greenShift_block_script_assets() function. The function uses str_replace() 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 str_replace 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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/18/2026, 14:37:54 UTC

Technical Analysis

The GreenShift plugin for WordPress suffers from a stored XSS vulnerability due to insufficient sanitization in the gspb_greenShift_block_script_assets() function. This function attempts to insert 'fetchpriority="high"' before 'src=' attributes by using str_replace() on the entire HTML string without proper parsing. Because contributors can inject 'src=' strings into HTML attribute values, the replacement breaks out of attribute contexts, enabling injection of malicious HTML attributes such as onfocus with JavaScript payloads. This flaw allows authenticated users with contributor or higher privileges to embed persistent scripts that execute upon page access.

Potential Impact

An attacker with contributor-level access or higher can exploit this vulnerability to inject persistent malicious scripts into pages built with the GreenShift plugin. These scripts execute in the context of users viewing the infected pages, potentially leading to session hijacking, defacement, or other client-side attacks. The vulnerability does not affect availability but impacts confidentiality and integrity of user interactions with the affected site.

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 GreenShift plugin if possible. Monitor for updates from the vendor or plugin maintainers and apply official patches promptly once available.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2026-03-26T14:07:20.492Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69d9a5741cc7ad14da144120

Added to database: 4/11/2026, 1:35:48 AM

Last enriched: 4/18/2026, 2:37:54 PM

Last updated: 5/26/2026, 7:56:46 AM

Views: 58

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses