Schneider Electric Modicon Controllers M241, M251, M258, and LMC058 Improper Neutralization of Input During Web Page Generation (CVE-2025-13902)
| Reporter | Title | Published | Views | Family All 12 |
|---|---|---|---|---|
| The vulnerability of microprogrammed software in Schneider Electric’s programmable logic controllers, such as Modicon M241, Modicon M251, Modicon M258, and Modicon LMC058, stems from the lack of protective measures for website structures. This allows attackers to perform cross-site scripting attacks. | 23 Mar 202600:00 | – | bdu_fstec | |
| CVE-2025-13902 | 19 Mar 202611:00 | – | circl | |
| Schneider Electric多款产品 跨站脚本漏洞 | 10 Mar 202600:00 | – | cnnvd | |
| CVE-2025-13902 | 10 Mar 202617:06 | – | cve | |
| CVE-2025-13902 | 10 Mar 202617:06 | – | cvelist | |
| EUVD-2025-208500 | 10 Mar 202618:31 | – | euvd | |
| EUVD-2025-208501 | 10 Mar 202618:31 | – | euvd | |
| Schneider Electric Modicon Controllers M241, M251, M258, and LMC058 | 10 Mar 202607:00 | – | ics | |
| CVE-2025-13902 | 10 Mar 202618:17 | – | nvd | |
| PT-2026-24255 | 10 Mar 202600:00 | – | ptsecurity |
10
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##
include('compat.inc');
if (description)
{
script_id(505937);
script_version("1.3");
script_set_attribute(attribute:"plugin_modification_date", value:"2026/08/05");
script_cve_id("CVE-2025-13902");
script_name(english:"Schneider Electric Modicon Controllers M241, M251, M258, and LMC058 Improper Neutralization of Input During Web Page Generation (CVE-2025-13902)");
script_set_attribute(attribute:"synopsis", value:
"The remote OT asset is affected by a vulnerability.");
script_set_attribute(attribute:"description", value:
"CWE-79 Improper Neutralization of Input During Web Page Generation
('Cross-site Scripting') vulnerability exists that could cause
condition where authenticated attackers can have a victim's browser
run arbitrary JavaScript when the victim hovers over a maliciously
crafted element on a web server containing the injected payload.
This plugin only works with Tenable.ot.
Please visit https://www.tenable.com/products/tenable-ot for more information.");
# https://download.schneider-electric.com/files?p_Doc_Ref=SEVD-2026-069-02&p_enDocType=Security+and+Safety+Notice&p_File_Name=SEVD-2026-069-02.pdf
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?c01d5d4f");
script_set_attribute(attribute:"see_also", value:"https://www.cisa.gov/news-events/ics-advisories/icsa-26-078-02");
script_set_attribute(attribute:"solution", value:
"The following text was originally created by the Cybersecurity and Infrastructure Security Agency (CISA). The original
can be found at CISA.gov.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:N");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N");
script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
script_set_attribute(attribute:"cvss4_vector", value:"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N");
script_set_attribute(attribute:"cvss4_threat_vector", value:"CVSS:4.0/E:U");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2025-13902");
script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
script_set_attribute(attribute:"exploit_available", value:"false");
script_cwe_id(79);
script_set_attribute(attribute:"vuln_publication_date", value:"2026/03/10");
script_set_attribute(attribute:"patch_publication_date", value:"2026/03/10");
script_set_attribute(attribute:"plugin_publication_date", value:"2026/08/04");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe", value:"cpe:/o:schneider-electric:modicon_lmc058_firmware:-");
script_set_attribute(attribute:"cpe", value:"cpe:/o:schneider-electric:modicon_m241_firmware");
script_set_attribute(attribute:"cpe", value:"cpe:/o:schneider-electric:modicon_m251_firmware");
script_set_attribute(attribute:"cpe", value:"cpe:/o:schneider-electric:modicon_m258_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) 2026 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("tenable_ot_api_integration.nasl");
script_require_keys("Tenable.ot/Schneider");
exit(0);
}
include('tenable_ot_cve_funcs.inc');
get_kb_item_or_exit('Tenable.ot/Schneider');
var asset = tenable_ot::assets::get(vendor:'Schneider');
var vuln_cpes = {
"cpe:/o:schneider-electric:modicon_m258_firmware:-" :
{"family" : "ModiconM258"},
"cpe:/o:schneider-electric:modicon_lmc058_firmware:-" :
{"family" : "Concept"},
"cpe:/o:schneider-electric:modicon_m251_firmware" :
{"versionEndExcluding" : "5.4.13.12", "family" : "ModiconM251"},
"cpe:/o:schneider-electric:modicon_m241_firmware" :
{"versionEndExcluding" : "5.4.13.12", "family" : "ModiconM241"}
};
tenable_ot::cve::compare_and_report(asset:asset, cpes:vuln_cpes, severity:SECURITY_WARNING);
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
05 Aug 2026 00:00Current
6.1Medium risk
Vulners AI Score6.1
CVSS 3.15.4
CVSS 45.1
EPSS0.00225
SSVC