reCAPTCHA for Asgaros Forum <= 1.1.0 - Authenticated (Subscriber+) Stored Cross-Site Scripting
Description
The reCAPTCHA for Asgaros Forum plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 1.1.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
CVSS Vector Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:NTechnical Details
<=1.1.0What Changed in the Fix
Changes introduced in v1.1.1
Source Code
WordPress.org SVN# CVE-2026-57365: Stored XSS in reCAPTCHA for Asgaros Forum ## Vulnerability Summary The **reCAPTCHA for Asgaros Forum** plugin (versions up to 1.1.0) is vulnerable to **Stored Cross-Site Scripting (XSS)**. The vulnerability exists because the plugin fails to properly restrict access to its setting…
Show full research plan
CVE-2026-57365: Stored XSS in reCAPTCHA for Asgaros Forum
Vulnerability Summary
The reCAPTCHA for Asgaros Forum plugin (versions up to 1.1.0) is vulnerable to Stored Cross-Site Scripting (XSS). The vulnerability exists because the plugin fails to properly restrict access to its settings-saving logic and lacks sufficient sanitization and context-aware escaping for stored settings. Specifically, the rfaf_save_recaptcha_setting function is hooked to wp_loaded and, despite having a capability check, it may be exploitable by authenticated users (Subscriber+) if certain conditions are met or if the authorization check is bypassed due to improper logic flow.
The injected payload is stored in the WordPress options table and rendered on the forum's editor page, which is accessible to all users (including administrators), leading to potential account takeover.
Attack Vector Analysis
- Endpoint: Any WordPress page (due to
wp_loadedhook). - Vulnerable Function:
rfaf_save_recaptcha_settinginrecaptcha-for-asgaros-forum.php. - HTTP Parameter:
rfaf_recaptcha_site_key(or other key fields likerfaf_recaptcha_v3_site_key). - Authentication: Authenticated (Subscriber-level access or higher).
- **Preconditions
Check if your site is affected.
Run a free security audit to detect vulnerable plugins, outdated versions, and misconfigurations.