WordPress Plugin Vulnerabilities

Per Page Add to Head < 1.4.4 - CSRF to Stored XSS

Description

The plugin is lacking any CSRF check when saving its settings, which could allow attackers to make a logged in admin change them. Furthermore, as the plugin allows arbitrary HTML to be inserted in one of the setting (feature mentioned by the plugin), this could lead to Stored XSS issue which will be triggered either in the backend, frontend or both depending on the payload used.

v1.4.4 fixed the CSRF and XSS in the admin settings, however high privilege users could still perform XSS attacks in the frontend even with the disallowed_html capability disallowed. A separate issue has been created for it.

Proof of Concept

Affects Plugins

Fixed in 1.4.4

References

Classification

Miscellaneous

Original Researcher
Prashant Karman Patel
Submitter
Prashant Karman Patel
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2021-08-11 (about 4 years ago)
Added
2021-08-11 (about 4 years ago)
Last Updated
2022-04-12 (about 3 years ago)

Other