Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-24722 Overview
CVE-2025-24722 is a stored Cross-Site Scripting (XSS) vulnerability in the Ays Pro FAQ Builder AYS plugin for WordPress. The flaw affects all versions up to and including 1.7.3. It stems from improper neutralization of user-supplied input during web page generation, classified as [CWE-79].
An authenticated attacker with high privileges can inject malicious scripts that execute in the browsers of users who view the affected FAQ content. Because the payload is stored, it persists across sessions and executes without further attacker interaction once a victim loads the page.
Critical Impact
Stored XSS enables session hijacking, administrative action abuse, and client-side redirection across any site rendering the compromised FAQ content.
Affected Products
- Ays Pro FAQ Builder AYS (faq-builder-ays) WordPress plugin
- All versions from initial release through 1.7.3
- WordPress installations where the vulnerable plugin is active
Discovery Timeline
- 2025-01-24 - CVE-2025-24722 published to the National Vulnerability Database
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-24722
Vulnerability Analysis
The vulnerability resides in the FAQ Builder AYS plugin's handling of input fields used to create or edit FAQ entries. The plugin fails to properly sanitize or escape input before storing it and rendering it in generated web pages.
Exploitation requires an authenticated account with high privileges, such as an administrator or editor role capable of managing FAQ entries. The attack also requires user interaction, meaning a victim must load a page that renders the injected FAQ content. The scope change indicates the injected script can affect resources beyond the vulnerable component's own security context.
Stored XSS in a WordPress plugin can be leveraged to steal authentication cookies, perform actions on behalf of logged-in users, deface pages, or deliver follow-on payloads such as cryptominers or redirect chains.
Root Cause
The root cause is missing output encoding and insufficient input validation within the plugin's FAQ entry handlers. Fields that accept FAQ titles, answers, or related metadata do not pass through WordPress sanitization helpers such as wp_kses_post() or esc_html() before being persisted and later echoed into the page.
Attack Vector
The attack vector is network-based through the WordPress administrative interface. A high-privileged authenticated user submits a crafted FAQ entry containing an HTML or JavaScript payload. The payload is stored in the database and executed in the browser of any user that subsequently renders the FAQ on the front end or in the admin preview.
No verified exploit code is publicly available. Technical details are documented in the Patchstack advisory.
Detection Methods for CVE-2025-24722
Indicators of Compromise
- FAQ entries containing <script>, onerror=, onload=, or javascript: payloads in title or answer fields
- Unexpected outbound requests from site visitors to attacker-controlled domains originating from FAQ pages
- New or modified administrator accounts following FAQ content changes
- Browser console errors or Content Security Policy violations on pages rendering FAQ widgets
Detection Strategies
- Audit the WordPress database tables used by faq-builder-ays for HTML or JavaScript syntax in stored FAQ records
- Review web server access logs for POST requests to FAQ Builder admin endpoints submitted by non-standard administrator accounts
- Deploy a Web Application Firewall (WAF) rule set that flags XSS payload patterns submitted to WordPress admin-ajax or REST endpoints
Monitoring Recommendations
- Monitor WordPress audit logs for FAQ entry creation and modification events, correlating with user role and source IP
- Alert on changes to plugin files and database writes to FAQ Builder tables outside maintenance windows
- Track browser-side telemetry such as CSP reports to identify script execution from unexpected origins
How to Mitigate CVE-2025-24722
Immediate Actions Required
- Identify all WordPress sites running the FAQ Builder AYS plugin and verify the installed version
- Restrict administrative and editor access to the plugin until a patched release is applied
- Review existing FAQ entries for injected script content and remove or sanitize affected records
- Rotate credentials for any administrative accounts that may have been exposed to stored payloads
Patch Information
At the time of publication, the advisory lists all versions through 1.7.3 as affected. Site operators should monitor the Patchstack advisory and the plugin's WordPress.org page for a fixed release and upgrade immediately once available.
Workarounds
- Deactivate and remove the FAQ Builder AYS plugin until a patched version is released
- Enforce least privilege on WordPress roles, limiting FAQ management to a minimal set of trusted accounts
- Deploy a strict Content Security Policy that blocks inline scripts and restricts allowed script sources on pages rendering FAQ content
- Use a WAF with WordPress-aware rulesets to block XSS payloads targeting plugin endpoints
# Example WordPress-CLI commands to deactivate the vulnerable plugin
wp plugin deactivate faq-builder-ays
wp plugin status faq-builder-ays
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

