CVE-2022-50894 VIAVIWEB Wallpaper Admin 1.0 SQL Injection via edit_gallery_image.php

High 7.1 Published Updated

Authenticated attackers can inject SQL code via the img_id parameter to extract database information from VIAVIWEB Wallpaper Admin.

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

What is CVE-2022-50894?

CVE-2022-50894 is a high-severity SQL injection vulnerability in VIAVIWEB Wallpaper Admin, published on 13 Jan 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

VIAVIWEB Wallpaper Admin 1.0 contains an SQL injection vulnerability that allows authenticated attackers to manipulate database queries by injecting SQL code through the img_id parameter. Attackers can send GET requests to edit_gallery_image.php with malicious img_id values to extract database information.

Weakness: CWE-89

Which versions are affected by CVE-2022-50894?

It affects 1 product.

Products include Viaviweb Wallpaper Admin.

How do I fix CVE-2022-50894?

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

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

Sources

Also known as GHSA-2c6v-h7h5-hq25.

Is CVE-2022-50894 in your software?

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

Check your SBOMs for free