# Video Posts Webcam Recorder <= 3.3.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'exiturl' Shortcode Attribute

- **ID:** WPSEC-2026-2430
- **Plugin:** Webcam Microphone Screen Recorder – Media Capture (`video-posts-webcam-recorder`), https://wordpress.org/plugins/video-posts-webcam-recorder/
- **Affected versions:** from 3.1 before 3.4.4
- **Fixed in:** 3.4.4 (Update to 3.4.4 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions None seen (as of 2026-11-04)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/video-posts-webcam-recorder
- **Fix released:** 2026-11-02
- **Published:** 2026-11-03
- **URL:** https://wpsec.com/vuln/WPSEC-2026-2430/

## Description

The Webcam Microphone Screen Recorder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'exiturl' attribute of the videowhisper_html5recorder shortcode in versions 3.1 through 3.3.1. This is due to insufficient output escaping: the value is only passed through sanitize_url(), which keeps single quotes, and is then placed directly inside a single-quoted JavaScript string in an inline script. This makes it possible for authenticated attackers with contributor-level access and above to inject arbitrary web scripts in pages that will execute whenever a user who is permitted to load the recorder (by default, any logged-in user) accesses an injected page.

## References

- https://wpsec.com/vuln/WPSEC-2026-2430/
- https://plugins.svn.wordpress.org/video-posts-webcam-recorder/tags/3.4.4/
- https://wordpress.org/plugins/video-posts-webcam-recorder/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-2430/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
