# Falang multilanguage for WordPress <= 1.4.7 - Reflected Cross-Site Scripting via 'pt-filter' and 'paged' Parameters

- **ID:** WPSEC-2026-4120
- **Plugin:** Falang multilanguage for WordPress (`falang`), https://wordpress.org/plugins/falang/
- **Affected versions:** from 1.3.3 before 1.4.8
- **Fixed in:** 1.4.8 (Update to 1.4.8 or later.)
- **Severity:** Medium 6.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-27)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/falang
- **Fix released:** 2026-11-26
- **Published:** 2026-11-27
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4120/

## Description

The Falang multilanguage for WordPress plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'pt-filter' and 'paged' parameters in all versions up to, and including, 1.4.7, due to insufficient input sanitization and output escaping on the post and menu translation edit screens. The parameters are passed only through sanitize_text_field(), which does not remove quotes. They are then put into the form action and Cancel link URLs, which are printed without escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user, such as an administrator, into performing an action such as clicking on a link.

## References

- https://wpsec.com/vuln/WPSEC-2026-4120/
- https://plugins.svn.wordpress.org/falang/tags/1.4.8/
- https://wordpress.org/plugins/falang/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4120/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
