WordPress Plugin Vulnerabilities

tagDiv Composer < 4.2 - Admin+ Stored XSS

Description

The plugin, used as a companion by the Newspaper and Newsmag themes from tagDiv, does not validate and escape some settings, which could allow users with Admin privileges to perform Stored Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed (for example in multisite setup)

Proof of Concept

1. Visit Newsmag > Plugins and install and activate "tagDiv Composer"
2. Visit Newsmag > Theme panel > Custom Code
3. Enter the following in "Custom CSS" and click "Save Settings":

</style><img src onerror=alert('XSS')><style>

4. Visit the site frontend to see the XSS.

Affects Plugins

Fixed in 4.2

References

Classification

Type
XSS
CWE
CVSS

Miscellaneous

Original Researcher
Truoc Phan
Submitter
Truoc Phan
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2023-08-17 (about 8 months ago)
Added
2023-08-17 (about 8 months ago)
Last Updated
2023-08-17 (about 8 months ago)

Other