{"id":"CVE-2021-31274","published":"2021-09-08T17:12:29Z","modified":"2024-08-03T22:55:53Z","title":"In LibreNMS < 21.3.0, a stored XSS vulnerability was identified in the API Access page due to insufficient…","vendor":null,"product":null,"tier":"tail","description":{"text":"In LibreNMS < 21.3.0, a stored XSS vulnerability was identified in the API Access page due to insufficient sanitization of the $api->description variable. As a result, arbitrary Javascript code can get executed.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00774,"percentile":0.52159,"provenance":"source"},"cwes":[],"references":[{"url":"https://community.librenms.org/t/vulnerability-report-cross-site-scripting-xss-in-the-api-access-page/15431","tags":["x_refsource_MISC"]},{"url":"https://github.com/librenms/librenms","tags":["x_refsource_MISC"]},{"url":"https://github.com/librenms/librenms/pull/12739","tags":["x_refsource_MISC"]}],"priority":{"score":10.4,"factors":[{"name":"EPSS percentile","points":10.43}]},"affected":[{"ecosystem":"Packagist","package":"librenms/librenms","vulnerableRanges":["<21.3.0"],"patched":["21.3.0"],"from":["GHSA-2r2w-jrh2-p4gr"],"provenance":"source"}],"summary":{"text":"The flaw is a stored cross-site scripting (XSS) vulnerability in the API Access page of LibreNMS prior to version 21.3.0, caused by insufficient sanitization of the $api->description variable.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:06:59Z"},"euvd":{"id":"EUVD-2021-1952","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-15873","published":"2020-07-21","fixed":"1.65.1","kev":false},{"cve":"CVE-2020-15877","published":"2020-07-21","fixed":"1.65.1","kev":false},{"cve":"CVE-2020-35700","published":"2021-02-08","fixed":"21.1.0","kev":false,"link":{"from":"CVE-2020-35700","to":"CVE-2021-31274","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:librenms/librenms","fromFixed":"21.1.0","toFixed":"21.3.0","daysApart":212}]}},{"cve":"CVE-2021-31274","published":"2021-09-08","fixed":"21.3.0","kev":false},{"cve":"CVE-2021-43324","published":"2021-11-03","fixed":"21.11.0","kev":false,"link":{"from":"CVE-2021-31274","to":"CVE-2021-43324","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:librenms/librenms","fromFixed":"21.3.0","toFixed":"21.11.0","daysApart":56}]}},{"cve":"CVE-2022-0576","published":"2022-02-13","fixed":"22.1.0","kev":false},{"cve":"CVE-2022-0589","published":"2022-02-15","fixed":"22.1.0","kev":false}],"package":"Packagist:librenms/librenms"}}