CVE-2026-43883: AVideo IDOR Vulnerability
MODERATECVE-2026-43883 is a MODERATE (CVSS 4.2) idor vulnerability (CWE-639: Authorization Bypass Through User-Controlled Key) affecting AVideo libraries in the Packagist ecosystem. The issue involves idor in paypalypt plugin allows any authenticated user to cancel arbitrary paypal subscription agreements. Remediation is available in the latest vendor maintenance releases.
CVE-2026-43883 at a Glance
Security Impact
CVSS: 4.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L).
How to Fix CVE-2026-43883
To remediate this vulnerability, upgrade all affected AVideo dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade wwbn/avideo to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for wwbn/avideo
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-43883, inspect your project dependencies for AVideo:
inspect dependencies for wwbn/avideo
Analyze the terminal output to locate any version of AVideo in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-639: Authorization Bypass Through User-Controlled Key, where the system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data. In AVideo, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-43883 Affected AVideo Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
wwbn/avideo
|
Packagist |
≤ 29.0
|
|
References
Frequently Asked Questions
What is CVE-2026-43883?
Which AVideo versions are affected?
What version fixes CVE-2026-43883?
Is wwbn/avideo affected?
What is the CVSS score of CVE-2026-43883?
What CWE is associated with CVE-2026-43883?
How can I check Packagist dependencies for CVE-2026-43883?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-958h-qp3x-q4gj",
"modified" : "2026-05-13T14:20:37Z",
"published" : "2026-05-05T22:16:12Z",
"aliases" : [ "CVE-2026-43883" ],
"summary" : "AVideo: IDOR in PayPalYPT Plugin Allows Any Authenticated User to Cancel Arbitrary PayPal Subscription Agreements",
"details" : "## Summary\n\n`plugin/PayPalYPT/agreementCancel.json.php` cancels a PayPal billing agreement using an attacker-supplied `agreement` parameter without verifying that the authenticated user owns the agreement. A low-privilege authenticated user who learns or obtains another user's PayPal billing agreement ID can silently suspend the victim's recurring subscription, causing revenue loss to the platform and loss of paid service to the victim.\n\n## Details\n\nAVideo's PayPalYPT plugin ships two near-duplicate endpoints that cancel a PayPal billing agreement. Only one of them enforces ownership:\n\n- `plugin/PayPalYPT/PayPalAgreementCancel.json.php:19` — correctly requires either admin or the agreement's owner:\n ```php\n if (!User::isAdmin() && !Subscription::isAgreementFromUser($_POST['agreement_id'], User::getId())) {\n $obj->msg = \"Only the owner can delete his agreement\";\n die(json_encode($obj));\n }\n ```\n\n- `plugin/PayPalYPT/agreementCancel.json.php:9-26` — only checks `User::isLogged()` (in fact twice, redundantly) and then calls the cancellation directly:\n\n ```php\n if (!User::isLogged()) { ... die; } // line 9\n if (empty($_REQUEST['agreement'])) { ... die; } // line 14\n if (!User::isLogged()) { ... die; } // line 19 — duplicate; no ownership check\n $plugin = AVideoPlugin::loadPluginIfEnabled(\"PayPalYPT\");\n $agreement = PayPalYPT::cancelAgreement($_REQUEST['agreement']); // line 26\n ```\n\n`PayPalYPT::cancelAgreement()` at `plugin/PayPalYPT/PayPalYPT.php:548-566` resolves the agreement ID against PayPal and calls `$createdAgreement->suspend($agreementStateDescriptor, $apiContext)` unconditionally — the server does not verify that the logged-in user's `users_id` matches the owner recorded in `PayPalYPT_log` (or wherever the agreement was registered):\n\n```php\npublic static function cancelAgreement($agreement_id)\n{\n ...\n $createdAgreement = self::getBillingAgreement($agreement_id);\n try {\n $createdAgreement->suspend($agreementStateDescriptor, $apiContext);\n return Agreement::get($createdAgreement->getId(), $apiContext);\n } catch (Exception $ex) {\n return false;\n }\n}\n```\n\nThe intended UI caller is `subscriptions_list.php:84` which posts the current user's own agreement IDs — but the server accepts any `agreement` parameter from any logged-in user. Agreement IDs can leak via `_error_log` entries written in `agreementCancel.json.php:34` and `webhook.php` during normal operation, via PayPal receipt emails, or via other administrative and payment-log screens. No CSRF token is required, but the root defect is missing authorization, not CSRF.\n\n## PoC\n\n1. Log in as any low-privilege user (registered subscriber, commenter, free-tier account created via `signUp`).\n2. Obtain the target's PayPal agreement ID (e.g., `I-ABCD1234XYZ`). This may come from server error logs, email receipts, admin/payment screens, or other disclosures.\n3. Send the request with the victim's agreement ID:\n\n ```bash\n curl -X POST 'https://target.example/plugin/PayPalYPT/agreementCancel.json.php' \\\n -b 'PHPSESSID=<attacker_session>' \\\n -d 'agreement=I-ABCD1234XYZ'\n ```\n\n4. Expected response:\n ```json\n {\"error\":false,\"msg\":\"\"}\n ```\n The victim's billing agreement is suspended at PayPal via `Agreement::suspend()` (PayPalYPT.php:560). The victim stops being billed; AVideo subsequently reflects the subscription as inactive.\n\n## Impact\n\n- Any authenticated user can silently cancel another user's active PayPal recurring billing agreement.\n- Revenue disruption for the platform operator — any affected subscribers stop being billed.\n- Service disruption for the victim — their paid subscription lapses.\n- The defect is purely an authorization gap; the sister endpoint `PayPalAgreementCancel.json.php` demonstrates that the owner/admin check was intentional for this action but was not applied to this duplicate.\n\n## Recommended Fix\n\nPort the ownership check from the sister endpoint into `agreementCancel.json.php`:\n\n```php\nif (!User::isAdmin() && !Subscription::isAgreementFromUser($_REQUEST['agreement'], User::getId())) {\n $obj->msg = \"Only the owner can cancel this agreement\";\n die(json_encode($obj));\n}\n```\n\nAlternative, preferred remediation: delete the duplicate `agreementCancel.json.php` entirely and point the `cancelAgreement()` JS helper in `subscriptions_list.php:84` at the already-protected `PayPalAgreementCancel.json.php` endpoint (sending the expected `agreement_id` POST field). While patching, also remove the redundant second `User::isLogged()` branch at line 19.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "wwbn/avideo"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "29.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/WWBN/AVideo/security/advisories/GHSA-958h-qp3x-q4gj"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-43883"
}, {
"type" : "WEB",
"url" : "https://github.com/WWBN/AVideo/commit/0da3dcff1eda2f497694bf82b559829471c292c2"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/WWBN/AVideo"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-639" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-05T22:16:12Z",
"nvd_published_at" : "2026-05-11T22:22:12Z"
}
}