CVE-2024-8914 Cross-site scripting in Thanh Toán Quét Mã QR Code Tự Động – MoMo, ViettelPay, VNPay và 40 ngân hàng Việt Nam

High 7.2 Published Updated

Unauthenticated attackers can inject arbitrary scripts via stored XSS in this WordPress payment plugin, potentially compromising user sessions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-8914?

CVE-2024-8914 is a high-severity cross-site scripting vulnerability in haibasoft Thanh Toán Quét Mã QR Code Tự Động – MoMo, ViettelPay, VNPay và 40 ngân hàng Việt Nam, published on 24 Sep 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Thanh Toán Quét Mã QR Code Tự Động – MoMo, ViettelPay, VNPay và 40 ngân hàng Việt Nam plugin for WordPress is vulnerable to Stored Cross-Site Scripting in all versions up to, and including, 2.0.1 due to incorrect use of the wp_kses_allowed_html function, which allows the 'onclick' attribute for certain HTML elements without sufficient restriction or context validation. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Weakness: CWE-79

Which versions are affected by CVE-2024-8914?

It affects 1 product.

Products include Wordpress Thanh Toan Quet Ma Qr Code Tu Dong.

How do I fix CVE-2024-8914?

No fix has been published for CVE-2024-8914 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-2024-8914 being exploited?

There is no known exploitation of CVE-2024-8914 in the wild and no public exploit code.

Sources

Also known as GHSA-f95m-8pg6-37q7.

Is CVE-2024-8914 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free