# Tiempo <= 1.0.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'city' Shortcode Attribute

- **ID:** WPSEC-2026-3249
- **Plugin:** Tiempo – Widget del tiempo para tu web (`tiempo`), https://wordpress.org/plugins/tiempo/
- **Affected versions:** all versions before 2.0.0
- **Fixed in:** 2.0.0 (Update to 2.0.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
- **Usage among sites WPSec scans:** plugin Low, affected versions None seen (as of 2026-11-17)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/tiempo
- **Fix released:** 2026-11-16
- **Published:** 2026-11-17
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3249/

## Description

The Tiempo plugin for WordPress is vulnerable to DOM-based Stored Cross-Site Scripting via the 'city' attribute of the [tiempo] shortcode in all versions up to, and including, 1.0.0. The value is only attribute-escaped on the server, and the front-end JavaScript reads it back from the widget's data-city attribute and inserts it into the page as HTML. 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-3249/
- https://plugins.svn.wordpress.org/tiempo/tags/2.0.0/
- https://wordpress.org/plugins/tiempo/

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

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.
