CVE-2024-43006 Cross-site scripting in n/a

Medium 5.4 Published Updated

Attackers can inject malicious scripts via the ask_edit.php endpoint, leading to cookie theft and session hijacking when victims view the affected page.

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-2024-43006?

CVE-2024-43006 is a medium-severity cross-site scripting vulnerability in Zzcms Zzcms, published on 16 Aug 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

A stored cross-site scripting (XSS) vulnerability exists in ZZCMS2023 in the ask/show.php file at line 21. An attacker can exploit this vulnerability by sending a specially crafted POST request to /user/ask_edit.php?action=add, which includes malicious JavaScript code in the 'content' parameter. When a user visits the ask/show_{newsid}.html page, the injected script is executed in the context of the user's browser, leading to potential theft of cookies, session tokens, or other sensitive information.

Weakness: CWE-79

Which versions are affected by CVE-2024-43006?

It affects 1 product.

Products include Zzcms Zzcms.

How do I fix CVE-2024-43006?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-43006 exists.

All Zzcms Zzcms vulnerabilities

Sources

Also known as GHSA-43p9-cg2h-73x3.

Is CVE-2024-43006 in your software?

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

Check your SBOMs for free