原始 OSV JSON{
"id": "GHSA-7qcx-jmrc-h2rr",
"aliases": [
"CVE-2017-15878"
],
"details": "Versions of `keystone` prior to 4.0.0 are vulnerable to Cross-Site Scripting (XSS). The package fails to sanitize user input on the `Contact Us` page, allowing attackers to submit contact forms with malicious JavaScript in the message field. The output is not properly encoded leading an admin that opens new inquiry to execute the arbitrary JavaScript supplied in their browser.\n\n\n## Recommendation\n\nUpdate to version 4.0.0 or later.",
"summary": "Cross-Site Scripting in keystone",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.0.0"
}
]
}
],
"package": {
"name": "keystone",
"ecosystem": "npm"
}
}
],
"modified": "2021-09-03T21:41:16Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"published": "2017-11-15T19:44:16Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2017-15878",
"type": "ADVISORY"
},
{
"url": "https://github.com/keystonejs/keystone/pull/4478",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-7qcx-jmrc-h2rr",
"type": "ADVISORY"
},
{
"url": "https://github.com/keystonejs/keystone",
"type": "PACKAGE"
},
{
"url": "https://packetstormsecurity.com/files/144756/KeystoneJS-4.0.0-beta.5-Unauthenticated-Stored-Cross-Site-Scripting.html",
"type": "WEB"
},
{
"url": "https://securelayer7.net/download/pdf/KeystoneJS-Pentest-Report-SecureLayer7.pdf",
"type": "WEB"
},
{
"url": "https://www.exploit-db.com/exploits/43054",
"type": "WEB"
},
{
"url": "https://www.npmjs.com/advisories/980",
"type": "WEB"
},
{
"url": "http://blog.securelayer7.net/keystonejs-open-source-penetration-testing-report",
"type": "WEB"
},
{
"url": "http://www.securityfocus.com/bid/101541",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2020-06-16T21:23:19Z"
}
}