CVE-2026-4895
Last modified
CVE-2026-4895 is a medium-severity vulnerability rated 6.4/10 on the CVSS scale. 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. EPSS estimates a 0.42% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-4895?
How severe is CVE-2026-4895?
How do I fix CVE-2026-4895?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-48944The K2 frontend article-save handler accepts an `attachment[…6.5
- CVE-2026-48945The K2 article gallery upload path accepts a zip/tar archive…5.3
- CVE-2026-48946The K2 frontend article-attachment upload path accepts files…6.3
- CVE-2026-48947An improper access check allows privileged users to overwrit…4.9
- CVE-2026-48948An improper access check allows user to download vcard expor…8.8
- CVE-2026-48949Lack of validation leads to an XSS vulnerability in the MFA …6.1
- CVE-2026-48950Lack of escaping leads to an XSS vulnerability in the file m…6.1
- CVE-2026-48951Lack of escaping leads to XSS vulnerabilities in modalreturn…6.1
- CVE-2026-48952Lack of escaping leads to an XSS vulnerability in the update…6.1
- CVE-2026-48953Lack of escaping leads to an XSS vulnerability in the generi…6.1
- CVE-2026-48954Improper validation leads to a generic XSS vector in the lan…6.1
- CVE-2026-48955An improper access check allows unauthorized users to access…6.5
Are you affected by CVE-2026-4895?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
