Lucene search
K

Generex UPS Adapter CS141 Improper Neutralization of Input During Web Page Generation (CVE-2022-47187)

🗓️ 13 Nov 2025 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 2 Views

Generex UPS Adapter CS141 below 2.06 has file upload causing cross site scripting in web page generation.

Related
Refs
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2022-47187
6 Mar 202318:07
circl
CNNVD
Generex CS141 Cross-Site Scripting Vulnerability
28 Sep 202300:00
cnnvd
CVE
CVE-2022-47187
28 Sep 202313:30
cve
Cvelist
CVE-2022-47187 File upload XSS vulnerability in Generex CS141
28 Sep 202313:30
cvelist
EUVD
EUVD-2022-49962
3 Oct 202520:07
euvd
Kitploit
Thunderstorm - Modular Framework To Exploit UPS Devices
6 Mar 202311:30
kitploit
NVD
CVE-2022-47187
28 Sep 202314:15
nvd
OSV
CVE-2022-47187
28 Sep 202314:15
osv
Prion
Unrestricted file upload
28 Sep 202314:15
prion
Positive Technologies
PT-2023-15227 · Generex · Generex Cs141
28 Sep 202300:00
ptsecurity
Rows per page
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(503962);
  script_version("1.2");
  script_set_attribute(attribute:"plugin_modification_date", value:"2025/11/13");

  script_cve_id("CVE-2022-47187");

  script_name(english:"Generex UPS Adapter CS141 Improper Neutralization of Input During Web Page Generation (CVE-2022-47187)");

  script_set_attribute(attribute:"synopsis", value:
"The remote OT asset is affected by a vulnerability.");
  script_set_attribute(attribute:"description", value:
"There is a file upload XSS vulnerability in Generex CS141 below 2.06
version. The web application allows file uploading, making it possible
to upload a file with HTML content. When HTML files are allowed, XSS
payload can be injected into the uploaded file.

This plugin only works with Tenable.ot.
Please visit https://www.tenable.com/products/tenable-ot for more information.");
  script_set_attribute(attribute:"see_also", value:"https://www.generex.de/support/changelogs/cs141/2-12");
  # https://www.incibe-cert.es/en/early-warning/ics-advisories/update-03032023-multiple-vulnerabilities-generex-ups-cs141
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?6764f637");
  script_set_attribute(attribute:"solution", value:
"Refer to the vendor advisory.");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2022-47187");

  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_cwe_id(79);

  script_set_attribute(attribute:"vuln_publication_date", value:"2023/09/28");
  script_set_attribute(attribute:"patch_publication_date", value:"2023/09/28");
  script_set_attribute(attribute:"plugin_publication_date", value:"2025/11/13");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:generex:cs141_firmware");
  script_set_attribute(attribute:"generated_plugin", value:"former");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Tenable.ot");

  script_copyright(english:"This script is Copyright (C) 2025 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("tenable_ot_api_integration.nasl");
  script_require_keys("Tenable.ot/Generex");

  exit(0);
}


include('tenable_ot_cve_funcs.inc');

get_kb_item_or_exit('Tenable.ot/Generex');

var asset = tenable_ot::assets::get(vendor:'Generex');

var vuln_cpes = {
    "cpe:/o:generex:cs141_firmware" :
        {"versionEndExcluding" : "2.06", "family" : "CS141"}
};

tenable_ot::cve::compare_and_report(asset:asset, cpes:vuln_cpes, severity:SECURITY_HOLE);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

13 Nov 2025 00:00Current
7High risk
Vulners AI Score7
CVSS 3.15.3 - 6.1
EPSS0.00387
SSVC
2