Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-8498

XSS exists in the shortcode functionality of the GistPress plugin before 3.0.2 for WordPress via the includes/class-gistpress.php id parameter. This allows an attacker with the WordPress Contributor role to execute arbitrary JavaScript code with the privileges of other users (e.g., ones who have the publish_posts capability).

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-8498
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:31 UTC · Revision 1

Source evidence

CVE-2020-8498

core-osv · Original source

Published 30 Jan 2020, 23:15 UTC

XSS exists in the shortcode functionality of the GistPress plugin before 3.0.2 for WordPress via the includes/class-gistpress.php id parameter. This allows an attacker with the WordPress Contributor role to execute arbitrary JavaScript code with the privileges of other users (e.g., ones who have the publish_posts capability).

osv:CVE-2020-8498
Complete source record
{
  "id": "ccb3070a2572a5bda9ebd69d673ca243743d46598250d7045d486d53a22fa05e",
  "url": "https://osv.dev/vulnerability/CVE-2020-8498",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-8498",
    "summary": "XSS exists in the shortcode functionality of the GistPress plugin before 3.0.2 for WordPress via the includes/class-gistpress.php id parameter. This allows an attacker with the WordPress Contributor role to execute arbitrary JavaScript code with the privileges of other users (e.g., ones who have the publish_posts capability).",
    "evidence": "osv:CVE-2020-8498",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-8498",
      "aliases": [
        "CVE-2020-8498"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/bradyvercher/gistpress",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "d7ae673996d536ea06c25ff22e754f212fbe3f11"
                },
                {
                  "fixed": "e3f260edb6673227b0471c74b7ab13c094411ef7"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gistpress_project:gistpress:*:*:*:*:*:wordpress:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.0.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "e3f260edb6673227b0471c74b7ab13c094411ef7"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "d7ae673996d536ea06c25ff22e754f212fbe3f11"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v3.0.2"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.0.1",
            "v3.0.0",
            "v2.0.3",
            "v2.0.2",
            "v2.0.1",
            "v2.0.0",
            "v1.1.0",
            "v1.0.1",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-8498.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:25.523398105Z",
      "provider": "osv",
      "references": [
        "https://github.com/bradyvercher/gistpress/releases/tag/v3.0.2",
        "https://github.com/bradyvercher/gistpress/commit/e3f260edb6673227b0471c74b7ab13c094411ef7",
        "https://wpvulndb.com/vulnerabilities/10053"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-8498",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 385345,
  "published_at": "2020-01-30T23:15:10.157+00:00"
}