WordPress Plugin Vulnerabilities

Get Custom Field Values < 4.0.1 - Contributor+ Stored Cross-Site Scripting

Description

The plugin does not escape custom fields before outputting them in the page, which could allow users with a role as low as contributor to perform Cross-Site Scripting attacks

Proof of Concept

As a contributor, create a custom field in a post, with the following payload: <script>alert(1)</script>

Then add the following shortcode to the post: [custom_field field="<custom_field_name>"]

Affects Plugins

References

Classification

Type
XSS
CWE

Miscellaneous

Original Researcher
Francesco Carlucci
Submitter
Francesco Carlucci
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2021-11-09 (about 2 years ago)
Added
2021-11-09 (about 2 years ago)
Last Updated
2022-04-11 (about 2 years ago)

Other