Skip to content
Heist/ feed
Back to feed
Medium

WP-UserOnline <= 2.88.0 - Authenticated (Admin+) Stored Cross-Site Scripting

Type: advisorySources: OSV

The WP-UserOnline plugin for WordPress has multiple Stored Cross-Site Scripting vulnerabilities in versions up to, and including 2.88.0. This is due to the fact that all fields in the "Naming Conventions" section do not properly sanitize user input, nor escape it on output. This makes it possible for authenticated attackers, with administrative privileges, to inject JavaScript code into the setting that will execute whenever a user accesses the injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-2941
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 03:12 UTC · Revision 1

Source evidence

WP-UserOnline <= 2.88.0 - Authenticated (Admin+) Stored Cross-Site Scripting

core-osv · Original source

Published 6 Sept 2022, 17:19 UTC

The WP-UserOnline plugin for WordPress has multiple Stored Cross-Site Scripting vulnerabilities in versions up to, and including 2.88.0. This is due to the fact that all fields in the "Naming Conventions" section do not properly sanitize user input, nor escape it on output. This makes it possible for authenticated attackers, with administrative privileges, to inject JavaScript code into the setting that will execute whenever a user accesses the injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.

osv:CVE-2022-2941
Complete source record
{
  "id": "86133123973f5174c892b84276539b5fc500973983b21766e5968cd588dde277",
  "url": "https://osv.dev/vulnerability/CVE-2022-2941",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "WP-UserOnline <= 2.88.0 - Authenticated (Admin+) Stored Cross-Site Scripting",
    "summary": "The WP-UserOnline plugin for WordPress has multiple Stored Cross-Site Scripting vulnerabilities in versions up to, and including 2.88.0. This is due to the fact that all fields in the \"Naming Conventions\" section do not properly sanitize user input, nor escape it on output. This makes it possible for authenticated attackers, with administrative privileges, to inject JavaScript code into the setting that will execute whenever a user accesses the injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.",
    "evidence": "osv:CVE-2022-2941",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-2941",
      "aliases": [
        "CVE-2022-2941"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/lesterchan/wp-useronline",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "59c76b20e4e27489f93dee4ef1254d6204e08b3c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "59c76b20e4e27489f93dee4ef1254d6204e08b3c"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.83",
            "2.82",
            "2.81",
            "2.80"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-2941.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:53.389281660Z",
      "provider": "osv",
      "references": [
        "https://packetstormsecurity.com/files/168479/wpuseronline2880-xss.txt",
        "https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2770235%40wp-useronline&new=2770235%40wp-useronline&sfp_email=&sfph_mail=",
        "https://www.wordfence.com/threat-intel/vulnerabilities/id/5c4fb14c-de6d-4247-8f83-050f1350f6a2?source=cve",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2941.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-2941",
        "https://www.wordfence.com/vulnerability-advisories/#CVE-2022-2941",
        "https://github.com/lesterchan/wp-useronline/commit/59c76b20e4e27489f93dee4ef1254d6204e08b3c"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "Wordfence",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "last_affected": "2.88.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2941.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-2941",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 522106,
  "published_at": "2022-09-06T17:19:00+00:00"
}