Description

The Falang multilanguage for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 1.3.49 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.

Severity

4.4 (Medium) - CVSS Vector CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N

Affected Version

<= 1.3.49

PoC :

- Go To Falang/Settings
- Put this payload on field "Google translate API Key","Microsoft Azure API Key","Lingvanex API Key"

JavaScript://%0A/?’/\’/”/\”//*\\/')/*\\74k

- Update settings

Reference

  • https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3082466%40falang%2Ftrunk&old=3059173%40falang%2Ftrunk&sfp_email=&sfph_mail=
  • https://www.cve.org/CVERecord?id=CVE-2024-4417
  • https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/falang/falang-multilanguage-for-wordpress-1349-authenticated-administrator-stored-cross-site-scripting