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

Under Construction < 3.86 - Authenticated Stored Cross-Site Scripting (XSS)

Description

The Underconstruction plugin admin configuration is vulnerable to stored XSS issues which will be triggered in the main page of the site, even when the unfiltered_html is disabled.

Edit (WPScanTeam)
A fix was attempted in v3.80, but was insufficient. In the meantime, more fields were found to be affected and the vendor was contacted with a detailed report to fix them.

Proof of Concept

Log in as admin, go to the plugin's settings (/wp-admin/options-general.php?page=ucp, Content tab), set the below field to the given value, save them and view either the preview or put the site under construction and view it (not as admin as they are whitelisted by default), to trigger the payloads.

v < 3.80
Headline: Sorry, we're doing some work on the site"/><script>alert(1337)</script>
Facebook Page, Twitter/LinkedIn/YT Profile (and potentially all Social & Contact Icons fields): https://w/"/><script>alert(1337)</script>

v < 3.86:
Headline: "><img src onerror=alert(/XSS/)>
Facebook Page, Twitter/LinkedIn/YT Profile (and potentially all Social & Contact Icons fields): https://w/" onfocus="alert(/XSS-Profile/)> (then click on the related icon in the frontend) 

Affects Plugins

under-construction-page
Fixed in version 3.86

References

URL
https://plugins.trac.wordpress.org/changeset/2326120
URL
https://plugins.trac.wordpress.org/changeset/2459690

Classification

Type

XSS

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

Miscellaneous

Original Researcher

atmon3r

Submitter

atmon3r

Submitter website
https://atmon3r.fr
Submitter twitter
atmon3r
Verified

Yes

WPVDB ID
2ec65510-5e4a-4af5-af58-3b0ca1b56c8d

Timeline

Publicly Published

2021-01-20 (about 2 years ago)

Added

2021-01-20 (about 2 years ago)

Last Updated

2021-01-20 (about 2 years 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