CVE-2021-24559 Qyrr < 0.7 - Authenticated (contributor+) Stored XSS
Authenticated contributors can inject malicious scripts via QR code data URIs, leading to stored XSS attacks against other users.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-24559?
CVE-2021-24559 is a medium-severity cross-site scripting vulnerability in Unknown Qyrr, published on 16 Jan 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
The Qyrr WordPress plugin before 0.7 does not escape the data-uri of the QR Code when outputting it in a src attribute, allowing for Cross-Site Scripting attacks. Furthermore, the data_uri_to_meta AJAX action, available to all authenticated users, only had a CSRF check in place, with the nonce available to users with a role as low as Contributor allowing any user with such role (and above) to set a malicious data-uri in arbitrary QR Code posts, leading to a Stored Cross-Site Scripting issue.
Weakness: CWE-79
Which versions are affected by CVE-2021-24559?
It affects 1 product.
Products include Patrickposner Qyrr.
How do I fix CVE-2021-24559?
No fix has been published for CVE-2021-24559 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2021-24559 being exploited?
There is no known exploitation of CVE-2021-24559 in the wild and no public exploit code.
Sources
Also known as GHSA-833g-hhhp-wggv.