{
 "id": "WPSEC-2026-1189",
 "url": "https://wpsec.com/vuln/WPSEC-2026-1189/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-1189/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-1189/index.md",
 "title": "Gravatar Enhanced <= 0.13.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Gravatar Profile Block Attributes",
 "description": "The Gravatar Enhanced plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Gravatar Profile block's 'placeholderProfile' attribute in all versions up to, and including, 0.13.1, due to insufficient input sanitization and output escaping. The block's server-side renderer passes the whole attribute (including fields such as profile_url, avatar_url and verified_accounts) to the front-end script. The script then inserts these values into innerHTML without escaping attribute values or restricting URL schemes. 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.",
 "plugin": {
  "slug": "gravatar-enhanced",
  "name": "Gravatar Enhanced",
  "full_name": "Gravatar Enhanced – Avatars, Profiles, and Privacy",
  "wordpress_org": "https://wordpress.org/plugins/gravatar-enhanced/",
  "advisories_url": "https://wpsec.com/vuln/plugin/gravatar-enhanced/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/gravatar-enhanced"
 },
 "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": "0.3.0",
    "from_inclusive": true,
    "to": "0.14.0",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 0.3.0 before 0.14.0"
  ]
 },
 "introduced_in": "0.3.0",
 "fixed_in": "0.14.0",
 "remediation": "Update to 0.14.0 or later.",
 "fix_released": "2026-10-16T13:19:16+00:00",
 "published": "2026-10-17T13:44:04+00:00",
 "updated": "2026-10-17T08:19:25.216418+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-1189/",
  "https://plugins.svn.wordpress.org/gravatar-enhanced/tags/0.14.0/",
  "https://wordpress.org/plugins/gravatar-enhanced/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/gravatar-enhanced",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-10-17"
 }
}