Description

The Fluid Notification Bar plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 3.2.3 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:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N

Affected Version

<= 3.2.3

PoC :

- Install
- Go to Settings/Fluid Notification Bar Settings
- Input payload "><script>alert('eneriiiiiiii <3')</script> on Show Notification Bar,Notification Bar Text,Notification Bar Link Title (Button Caption),Notification Bar Link (Button URL),Google+ Link,Facebook Link,Twitter Link,Pinterest Link,Linkedin Link field.
- Go to homepage wordpress(https://[ASSETS]/), payload executed.

Reference

  • https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/fluid-notification-bar/fluid-notification-bar-323-authenticated-admin-stored-cross-site-scripting
  • https://www.cve.org/CVERecord?id=CVE-2024-3031