原始 OSV JSON{
"id": "GHSA-2r2w-jrh2-p4gr",
"aliases": [
"CVE-2021-31274"
],
"details": "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.",
"summary": "Cross-site Scripting in LibreNMS",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "21.3.0"
}
]
}
],
"package": {
"name": "librenms/librenms",
"ecosystem": "Packagist"
}
}
],
"modified": "2023-09-19T10:09:11Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
}
],
"published": "2021-09-09T17:08:55Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-31274",
"type": "ADVISORY"
},
{
"url": "https://github.com/librenms/librenms/pull/12739",
"type": "WEB"
},
{
"url": "https://community.librenms.org/t/vulnerability-report-cross-site-scripting-xss-in-the-api-access-page/15431",
"type": "WEB"
},
{
"url": "https://github.com/librenms/librenms",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2021-09-08T18:15:00Z",
"github_reviewed_at": "2021-09-09T13:32:48Z"
}
}