{
 "id": "WPSEC-2026-0808",
 "url": "https://wpsec.com/vuln/WPSEC-2026-0808/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-0808/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-0808/index.md",
 "title": "Related Posts for WordPress <= 2.3.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Post Title",
 "description": "The Related Posts for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via post titles in all versions up to, and including, 2.3.1 due to insufficient output escaping of related posts' titles in the 'Related Posts' meta box of the post editor, where the title is printed unescaped inside a single-quoted HTML attribute. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts through a crafted post title that execute whenever an editor or administrator opens a post to which the attacker's post is linked as a related post, for example a post the attacker submitted for review.",
 "plugin": {
  "slug": "related-posts-for-wp",
  "name": "Related Posts for WordPress",
  "full_name": "Related Posts for WordPress",
  "wordpress_org": "https://wordpress.org/plugins/related-posts-for-wp/",
  "advisories_url": "https://wpsec.com/vuln/plugin/related-posts-for-wp/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/related-posts-for-wp"
 },
 "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": null,
    "from_inclusive": true,
    "to": "3.0.0",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 3.0.0"
  ]
 },
 "introduced_in": null,
 "fixed_in": "3.0.0",
 "remediation": "Update to 3.0.0 or later.",
 "fix_released": "2026-10-11T19:48:26+00:00",
 "published": "2026-10-12T20:49:55+00:00",
 "updated": "2026-10-12T09:38:15.498434+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-0808/",
  "https://plugins.svn.wordpress.org/related-posts-for-wp/tags/3.0.0/",
  "https://wordpress.org/plugins/related-posts-for-wp/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/related-posts-for-wp",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "None seen",
  "as_of": "2026-10-12"
 }
}