{
 "id": "WPSEC-2026-1937",
 "url": "https://wpsec.com/vuln/WPSEC-2026-1937/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-1937/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-1937/index.md",
 "title": "UsersWP - Social Login <= 1.5.10 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'type' Shortcode Attribute",
 "description": "The UsersWP - Social Login plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'type' attribute of the [uwp_social] shortcode in all versions up to, and including, 1.5.10, due to insufficient input sanitization and output escaping. In the Bootstrap social login template, the value is only passed through sanitize_text_field(), which leaves double quotes intact. It is then concatenated into the Google sign-in button URL and printed unescaped inside an href attribute. 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. The script runs for logged-out visitors when Google login is enabled.",
 "plugin": {
  "slug": "userswp-social-login",
  "name": "UsersWP - Social Login",
  "full_name": "UsersWP – Social Login",
  "wordpress_org": "https://wordpress.org/plugins/userswp-social-login/",
  "advisories_url": "https://wpsec.com/vuln/plugin/userswp-social-login/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/userswp-social-login"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "1.3.17",
    "from_inclusive": true,
    "to": "1.5.11",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 1.3.17 before 1.5.11"
  ]
 },
 "introduced_in": "1.3.17",
 "fixed_in": "1.5.11",
 "remediation": "Update to 1.5.11 or later.",
 "fix_released": "2026-10-28T15:11:24+00:00",
 "published": "2026-10-29T18:50:39+00:00",
 "updated": "2026-10-29T17:44:30.764906+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-1937/",
  "https://plugins.svn.wordpress.org/userswp-social-login/tags/1.5.11/",
  "https://wordpress.org/plugins/userswp-social-login/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/userswp-social-login",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-10-29"
 }
}