WordPress Plugin Vulnerabilities
WP All Import < 3.6.3 - Admin+ Stored Cross-Site Scripting
Description
The plugin does not escape the Import's Title and Unique Identifier fields before outputting them in admin pages, which could allow high privilege users to perform Cross-Site attacks even when the unfiltered_html capability is disallowed.
Proof of Concept
1. Add a new Import at "New Import", upload a random.txt (json, zip etcs) file. 2. Continue to "Drag & Drop" step. Put the XSS payload in the title form, e.g: laladee"><img src=a onerror=alert('title')> or put XSS payload in Unique Identifier form at "Import Settings" step. 3. Continue to the end of steps and run the Import (which will trigger the XSS) 4. The XSS will be triggered again when going to Manage Imports > Run Import, Manage Imports > Run Import > Confirm & Run the import, Manage Imports > Edit Import > Preview Note: v3.6.2 fixed the XSS in when running the import, but not in the preview
Affects Plugins
References
CVE
Classification
Type
XSS
OWASP top 10
CWE
CVSS
Miscellaneous
Original Researcher
Huy Nguyen
Submitter
Huy Nguyen
Submitter website
Verified
Yes
WPVDB ID
Timeline
Publicly Published
2021-11-02 (about 2 years ago)
Added
2021-11-02 (about 2 years ago)
Last Updated
2022-04-13 (about 2 years ago)