CVE-2024-57151 SQL injection in n/a

Medium 6.8 Published Updated

Remote attackers can execute arbitrary code via SQL injection in the saveAjax function of Xinhu CMS.

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-57151?

CVE-2024-57151 is a medium-severity SQL injection vulnerability in n/a, published on 18 Mar 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

SQL Injection vulnerability in rainrocka xinhu v.2.6.5 and before allows a remote attacker to execute arbitrary code via the inputAction.php file and the saveAjax function

Weakness: CWE-89

Which versions are affected by CVE-2024-57151?

It affects 1 product.

Products include Rockoa Xinhu.

How do I fix CVE-2024-57151?

No fix has been published for CVE-2024-57151 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2024-57151 being exploited?

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

Sources

Also known as GHSA-cqjc-pfg6-24mx.

Is CVE-2024-57151 in your software?

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

Check your SBOMs for free