wwbn/avideo

CVE-2026-33731

CVE-2026-33731 is a medium-severity security vulnerability in wwbn/avideo (composer), affecting versions <= 28.0. It is fixed in 29.0.

Key facts
CVSS score
6.5
Medium
Attack vector
Network
Issuing authority
GitHub Advisory Database
Affected package
wwbn/avideo
Fixed in
29.0
Disclosed
2026

Summary

Summary The Authorize.Net webhook handler at plugin/AuthorizeNet/webhook.php contains a signature verification bypass that allows an attacker to forge webhook requests with arbitrary payment amounts and target user IDs. By supplying a valid transaction ID from a small legitimate purchase, the attacker bypasses signature validation and credits arbitrary wallet balances to any user account via attacker-controlled payload fields. Details Three flaws combine into an exploit chain: Signature Bypass via OR Logic (webhook.php:33) The webhook is rejected only when both conditions are true: the signature is invalid AND the transaction lookup fails. If the attacker supplies a real transaction ID (e.g., from their own $1 purchase), getTransactionDetails() succeeds and returns valid data, so the second condition is false. The invalid signature is silently ignored. Payload Values Override API-Fetched Values (AuthorizeNet.php:169-171, webhook.php:44-48) In analyzeTransactionFromWebhook(), usersid and amount are extracted from the attacker-controlled webhook payload first: The fallback logic in webhook.php only applies when the analysis values are empty/falsy: Since the forged payload already provides both values, the authoritative API-fetched values are never used. Missing Approval Check (webhook.php:61-75) The code checks only that usersid and amount are non-empty before calling processSinglePayment(). The isApproved field is computed in analyzeTransactionFromWebhook() (line 222-228) but never verified before crediting the wallet at line 68-75. PoC Prerequisites: Attacker has a low-privileged account on the AVideo instance and has made at least one legitimate small Authorize.Net purchase (e.g., $1.00), noting the transaction ID (e.g., 60123456789). Immediately after the purchase completes (to race the legitimate webhook), send a forged webhook: The signature check fails (no X-ANET-Signature header), but getTransactionDetails('60123456789') succeeds because it is a real transaction. The OR condition on line 33 is not fully satisfied, so execution continues. analyzeTransactionFromWebhook() uses the forged payload's amount: 99999.99 and metadata.usersid: 2. processSinglePayment() credits $99,999.99 to user ID 2's wallet via addBalance(). The dedup key is sha1('net.authorize.payment.authcapture.created' . '60123456789'), so the legitimate webhook arriving later is silently discarded as a duplicate. The attacker can repeat with new transaction IDs from additional small purchases for cumulative balance inflation. Impact Wallet balance inflation: Attacker credits arbitrary amounts to any user's wallet without corresponding payment, bypassing the payment gateway's actual charge amount. Premium content access: Inflated wallet balance allows purchasing all paid/premium video content without real payment. Subscription fraud: By including plansid in forged metadata, the attacker can activate premium subscriptions (webhook.php:86-134) without corresponding payment. Financial loss: Platform owner loses revenue from fraudulently accessed premium content and services. Recommended Fix Reject webhooks with invalid signatures unconditionally, the transaction lookup should only be used for data enrichment after signature validation passes: Use API-fetched values as authoritative, in webhook.php lines 44-55, invert the precedence so $txnInfo values always override payload values: Check isApproved before processing, add a gate before processSinglePayment():

Impact

Severity and exposure

CVE-2026-33731 has a CVSS score of 6.5 (Medium). The vector is network-reachable, low privileges required, and no user interaction. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment.

A fixed version is available (29.0). Upgrading removes the vulnerable code path.

Affected versions

composer

  • wwbn/avideo (<= 28.0)

Security releases

  • wwbn/avideo → 29.0 (composer)
Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter instead of chasing every advisory.

Kodem's runtime-powered SCA identifies whether CVE-2026-33731 is reachable in your applications. Explore open-source security for your team.

See if CVE-2026-33731 is reachable in your applications. Get a demo

Already deployed Kodem? See CVE-2026-33731 in your environment

Remediation advice

Upgrade wwbn/avideo to 29.0 or later to resolve this vulnerability.

Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.

Frequently asked questions about CVE-2026-33731

What is CVE-2026-33731?

CVE-2026-33731 is a medium-severity security vulnerability in wwbn/avideo (composer), affecting versions <= 28.0. It is fixed in 29.0.

How severe is CVE-2026-33731?

CVE-2026-33731 has a CVSS score of 6.5 (Medium). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.

Which versions of wwbn/avideo are affected by CVE-2026-33731?

wwbn/avideo (composer) versions <= 28.0 is affected.

Is there a fix for CVE-2026-33731?

Yes. CVE-2026-33731 is fixed in 29.0. Upgrade to this version or later.

Is CVE-2026-33731 exploitable, and should I be worried?

Whether CVE-2026-33731 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo

What actually determines whether CVE-2026-33731 is exploitable, and how bad it is?

Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.

How do I fix CVE-2026-33731?

Upgrade wwbn/avideo to 29.0 or later.

Stop the waste.
Protect your environment with Kodem.