{"id":"CVE-2026-22675","aliases":["CVE-2026-22675"],"related":[],"kind":"vulnerability","state":"published","title":"OCS Inventory NG Server Stored XSS via User-Agent","summary":"OCS Inventory NG Server version 2.12.3 and prior contain a stored cross-site scripting vulnerability that allows unauthenticated attackers to execute arbitrary JavaScript by submitting malicious User-Agent HTTP headers to the /ocsinventory endpoint. Attackers can register rogue agents or craft requests with malicious User-Agent values that are stored without sanitization and rendered with insufficient encoding in the web console, leading to arbitrary JavaScript execution in the browsers of authenticated users viewing the statistics dashboard.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"OCS Inventory NG Server version 2.12.3 and prior contain a stored cross-site scripting vulnerability that allows unauthenticated attackers to execute arbitrary JavaScript by submitting malicious User-Agent HTTP headers to the /ocsinventory endpoint. Attackers can register rogue agents or craft requests with malicious User-Agent values that are stored without sanitization and rendered with insufficient encoding in the web console, leading to arbitrary JavaScript execution in the browsers of authenticated users viewing the statistics dashboard.","source":"cvelist"},{"lang":"es","text":"OCS Inventory NG Server versión 2.12.3 y anteriores contienen una vulnerabilidad de cross-site scripting almacenado que permite a atacantes no autenticados ejecutar JavaScript arbitrario al enviar encabezados HTTP User-Agent maliciosos al endpoint /ocsinventory. Los atacantes pueden registrar agentes maliciosos o crear solicitudes con valores de User-Agent maliciosos que se almacenan sin saneamiento y se renderizan con codificación insuficiente en la consola web, lo que lleva a la ejecución arbitraria de JavaScript en los navegadores de los usuarios autenticados que ven el panel de estadísticas.","source":"nvd"}],"published":"2026-04-06T21:19:59.435Z","modified":"2026-11-08T14:01:17.846Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":5.1,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":5.1,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"2.12.3","status":"affected"},{"type":"git","version":"78faf2ca8b897141ba4d337d75692ab8e405bd4e","status":"unaffected"}],"vendor":"OCS Inventory","product":"OCS Inventory NG Server","repo":"https://github.com/OCSInventory-NG/OCSInventory-Server","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"2.12.3"}],"vendor":"ocsinventory-ng","product":"ocs_inventory_server","cpe":"cpe:2.3:a:ocsinventory-ng:ocs_inventory_server:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/OCSInventory-NG/OCSInventory-Server/pull/483","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/OCSInventory-NG/OCSInventory-Server/commit/78faf2ca8b897141ba4d337d75692ab8e405bd4e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/ocs-inventory-ng-server-stored-xss-via-user-agent","tags":["third-party-advisory","vdb-entry"],"sources":["cvelist","nvd"]}],"credits":["Alexandre Nesic (@_atsika) at Quarkslab"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-07T13:39:21.858Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-22675","url":"https://www.cve.org/CVERecord?id=CVE-2026-22675","licence":"CVE Terms of Use","modified":"2026-11-08T14:01:17.846Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-22675","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22675","licence":"Public domain","modified":"2026-07-24T22:10:00.140Z"}],"updatedAt":"2026-11-25T22:59:18.069Z","epss":{"score":0.00284,"percentile":0.22472,"date":"2026-12-01T12:00:22.000Z"}}