{
 "id": "WPSEC-2026-4501",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4501/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4501/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4501/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4501.json",
 "title": "Social Share Block <= 2.5.0 - Authenticated (Contributor+) CSS Injection via Block Style Attributes",
 "description": "The Social Share Block plugin for WordPress is vulnerable to CSS Injection via the Social Share block's style attributes (background colour and gradient, overlay colour, border, shadow and icon colour or gradient) in all versions up to, and including, 2.5.0, due to these values being added to the block's generated CSS without validation. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary CSS rules into pages that display the block.",
 "plugin": {
  "slug": "b-social-share",
  "name": "Social Share Block",
  "full_name": "Social Share Block – Help Visitors Spread Your Content Everywhere",
  "wordpress_org": "https://wordpress.org/plugins/b-social-share/",
  "advisories_url": "https://wpsec.com/vuln/plugin/b-social-share/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/b-social-share"
 },
 "type": "CONTENT INJECTION",
 "cwe": [
  "CWE-74"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 4.3,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "2.5.1",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 2.5.1"
  ]
 },
 "introduced_in": null,
 "fixed_in": "2.5.1",
 "remediation": "Update to 2.5.1 or later.",
 "fix_released": "2026-12-02T08:30:49+00:00",
 "published": "2026-12-03T12:50:55+00:00",
 "updated": "2026-12-03T12:34:56.661366+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4501/",
  "https://plugins.svn.wordpress.org/b-social-share/tags/2.5.1/",
  "https://wordpress.org/plugins/b-social-share/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/b-social-share",
 "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-12-03"
 }
}