
Proof-of-concept and writeup for CVE-2026-125440, an unauthenticated shortcode injection in s2Member PayPal IPN handlers that can escalate to code execution.
CVE-2026-125440 was discovered by me. It is a bug in s2Member (up to version 261106). The bug is in 2 PayPal handler files. The plugin takes item_name from a PayPal IPN message and runs do_shortcode() on it. No login is needed. The attacker's text runs as a shortcode on the site pages, so they can inject content and run any shortcode the site has. If the site has a shortcode that runs code, this can lead to code execution, like the 9.8 bug CVE-2026-86596 in the same plugin. 1 real PayPal payment is enough.
Fixed in 261110. It was published on 13 Nov 2026. CVSS 5.3.
Files: writeup.md, exploit_poc.py, severity-review.txt
Links: