Responsive Cookie Consent <= 1.7 - Authenticated Stored Cross-Site Scripting (XSS)



Description
A persistent cross-site scripting vulnerability has been found in the web interface of the plugin that allows the execution of arbitrary HTML/script code to be executed in the victim's browser when they visit the web site.

Tested on version 1.5, 1.6 and 1.7 (older versions may also be affected)
Proof of Concept
1) Access WordPress control panel.
2) Navigate to the Responsive Cookie Consent plugin page.
3) Select one of the input fields. For example, "Cookie Bar Border Bottom Size".
4) Insert the script you wish to inject.
5) Save the plugin settings.
6) Injected script will run in the victim user's browser. Depending on which input field you inserted the script, the script may also run everytime you load the Responsive Cookie Consent plugin page.

Affects Plugin

fixed in version 1.8

References

CVE 2018-10309
URL https://plugins.trac.wordpress.org/changeset/1823917/responsive-cookie-consent

Classification

Type XSS
OWASP Top 10 A3: Cross-Site Scripting (XSS)
CWE CWE-79

Miscellaneous

Submitter B0UG
Views 930
Verified No
WPVDB ID 9067

Timeline

Publicly Published 2018-04-24 (7 months ago)
Added 2018-04-26 (7 months ago)
Last Updated 2018-04-26 (7 months ago)

Copyright & License

Copyright All data and resources contained within this page and this web site is Copyright © The WPScan Team.
License Some of this data may be used for non-commercial purposes, however, any potential commercial usage of this data will require a license. If you would like to inquire about a commercial license please contact us.