WordPress Plugin Vulnerabilities

HD Quiz < 1.8.4 - Authenticated Stored XSS

Description

The plugin does not escape some of its Answers before outputting them in attribute when generating the Quiz, which could lead to Stored Cross-Site Scripting issues

Proof of Concept

Create or edit a Quiz, and put the following payload as an Answers of a "Multiple Choice: Text" Question: " autofocus onfocus=alert(/XSS/) "

Then, the XSS will be triggered when viewing a page with the embed Quiz

Affects Plugins

Fixed in 1.8.4

References

Classification

Type
XSS
CWE

Miscellaneous

Original Researcher
Authenticated Stored XSS
Submitter
Asif Nawaz Minhas
Verified
Yes

Timeline

Publicly Published
2021-07-26 (about 2 years ago)
Added
2021-07-26 (about 2 years ago)
Last Updated
2023-04-12 (about 1 years ago)

Other