# Countdown Timer – Widget Countdown <= 3.0.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'redirect_url' Shortcode Attribute

- **ID:** WPSEC-2026-4222
- **Plugin:** Countdown Timer – Widget Countdown (`widget-countdown`), https://wordpress.org/plugins/widget-countdown/
- **Affected versions:** from 3.0.0 before 3.1.0
- **Fixed in:** 3.1.0 (Update to 3.1.0 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
- **CVE:** CVE-2026-16495
- **Usage among sites WPSec scans:** plugin Medium, affected versions Low (as of 2026-11-29)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/widget-countdown
- **Fix released:** 2026-11-28
- **Published:** 2026-11-29
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4222/

## Description

The Countdown Timer – Widget Countdown plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the [wpdevart_countdown] shortcode's 'redirect_url' attribute in versions 3.0.0 up to, and including, 3.0.1. This is due to insufficient input sanitization and output escaping: the value is concatenated directly into an inline script, and the label texts and style attributes are also printed without escaping. 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 accesses an injected page.

## References

- https://wpsec.com/vuln/WPSEC-2026-4222/
- https://plugins.svn.wordpress.org/widget-countdown/tags/3.1.0/
- https://wordpress.org/plugins/widget-countdown/

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

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.
