Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/409698?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/409698?format=api", "purl": "pkg:npm/sails@0.7.4", "type": "npm", "namespace": "", "name": "sails", "version": "0.7.4", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "1.5.7", "latest_non_vulnerable_version": "1.5.7", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/208519?format=api", "vulnerability_id": "VCID-3hs2-w4t6-yqdg", "summary": "Prototype Pollution in Sails.js", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-44908", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00456", "scoring_system": "epss", "scoring_elements": "0.64429", "published_at": "2026-06-12T12:55:00Z" }, { "value": "0.00456", "scoring_system": "epss", "scoring_elements": "0.64327", "published_at": "2026-06-11T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-44908" }, { "reference_url": "https://github.com/balderdashy/sails", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/balderdashy/sails" }, { "reference_url": "https://github.com/balderdashy/sails/blob/master/lib/app/private/controller/load-action-modules.js#L32", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/balderdashy/sails/blob/master/lib/app/private/controller/load-action-modules.js#L32" }, { "reference_url": "https://github.com/balderdashy/sails/commit/7c5379a656bb305c958df1dcc2b51a9668830358", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/balderdashy/sails/commit/7c5379a656bb305c958df1dcc2b51a9668830358" }, { "reference_url": "https://github.com/balderdashy/sails/issues/7209", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/balderdashy/sails/issues/7209" }, { "reference_url": "https://github.com/Marynk/JavaScript-vulnerability-detection/blob/main/sailsJS%20PoC.zip", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/Marynk/JavaScript-vulnerability-detection/blob/main/sailsJS%20PoC.zip" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-44908", "reference_id": "CVE-2021-44908", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-44908" }, { "reference_url": "https://github.com/advisories/GHSA-8v3j-jfg3-v3fv", "reference_id": "GHSA-8v3j-jfg3-v3fv", "reference_type": "", "scores": [ { "value": "CRITICAL", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-8v3j-jfg3-v3fv" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/392279?format=api", "purl": "pkg:npm/sails@1.4.1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-zuet-qgkb-7qf5" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/sails@1.4.1" } ], "aliases": [ "CVE-2021-44908", "GHSA-8v3j-jfg3-v3fv" ], "risk_score": 4.5, "exploitability": "0.5", "weighted_severity": "9.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-3hs2-w4t6-yqdg" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/205054?format=api", "vulnerability_id": "VCID-49jp-55g8-kqcq", "summary": "Improper Input Validation in sails-hook-sockets", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-21036", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00714", "scoring_system": "epss", "scoring_elements": "0.72874", "published_at": "2026-06-12T12:55:00Z" }, { "value": "0.00714", "scoring_system": "epss", "scoring_elements": "0.72796", "published_at": "2026-06-11T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-21036" }, { "reference_url": "https://github.com/balderdashy/sails/blob/56f8276f6501a144a03d1f0f28df4ccdb4ad82e2/CHANGELOG.md", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/balderdashy/sails/blob/56f8276f6501a144a03d1f0f28df4ccdb4ad82e2/CHANGELOG.md" }, { "reference_url": "https://github.com/balderdashy/sails-hook-sockets", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/balderdashy/sails-hook-sockets" }, { "reference_url": "https://github.com/balderdashy/sails-hook-sockets/commit/0533a4864b1920fd8fbb5287bc0889193c5faf44", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/balderdashy/sails-hook-sockets/commit/0533a4864b1920fd8fbb5287bc0889193c5faf44" }, { "reference_url": "https://github.com/balderdashy/sails-hook-sockets/commit/ff02114eaec090ee51db48435cc32d451662606e", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/balderdashy/sails-hook-sockets/commit/ff02114eaec090ee51db48435cc32d451662606e" }, { "reference_url": "http://www.openwall.com/lists/oss-security/2020/07/19/1", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "http://www.openwall.com/lists/oss-security/2020/07/19/1" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-21036", "reference_id": "CVE-2018-21036", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-21036" }, { "reference_url": "https://github.com/advisories/GHSA-f7f4-hqp2-7prc", "reference_id": "GHSA-f7f4-hqp2-7prc", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-f7f4-hqp2-7prc" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/464796?format=api", "purl": "pkg:npm/sails@1.0.1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-3hs2-w4t6-yqdg" }, { "vulnerability": "VCID-zuet-qgkb-7qf5" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/sails@1.0.1" } ], "aliases": [ "CVE-2018-21036", "GHSA-f7f4-hqp2-7prc" ], "risk_score": 4.0, "exploitability": "0.5", "weighted_severity": "8.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-49jp-55g8-kqcq" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/203049?format=api", "vulnerability_id": "VCID-4s9y-5ead-g3gu", "summary": "Sails before 0.12.7 vulnerable to Broken CORS", "references": [ { "reference_url": "http://sailsjs.org/documentation/concepts/security/cors", "reference_id": "", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "http://sailsjs.org/documentation/concepts/security/cors" }, { "reference_url": "http://sailsjs.org/documentation/reference/configuration/sails-config-cors", "reference_id": "", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "http://sailsjs.org/documentation/reference/configuration/sails-config-cors" }, { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-10549", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00254", "scoring_system": "epss", "scoring_elements": "0.49046", "published_at": "2026-06-11T12:55:00Z" }, { "value": "0.00254", "scoring_system": "epss", "scoring_elements": "0.49183", "published_at": "2026-06-12T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-10549" }, { "reference_url": "https://github.com/balderdashy/sails", "reference_id": "", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/balderdashy/sails" }, { "reference_url": "https://github.com/balderdashy/sails/commit/0057123a0321be6758845abbeb4290bf418ce542", "reference_id": "", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/balderdashy/sails/commit/0057123a0321be6758845abbeb4290bf418ce542" }, { "reference_url": "https://github.com/balderdashy/sails/releases/tag/v0.12.7", "reference_id": "", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/balderdashy/sails/releases/tag/v0.12.7" }, { "reference_url": "https://nodesecurity.io/advisories/148", "reference_id": "", "reference_type": "", "scores": [], "url": "https://nodesecurity.io/advisories/148" }, { "reference_url": "https://www.npmjs.com/advisories/148", "reference_id": "", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://www.npmjs.com/advisories/148" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-10549", "reference_id": "CVE-2016-10549", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-10549" }, { "reference_url": "https://github.com/advisories/GHSA-qmv4-jgp7-mf68", "reference_id": "GHSA-qmv4-jgp7-mf68", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-qmv4-jgp7-mf68" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/14851?format=api", "purl": "pkg:npm/sails@0.12.7", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-3hs2-w4t6-yqdg" }, { "vulnerability": "VCID-49jp-55g8-kqcq" }, { "vulnerability": "VCID-zuet-qgkb-7qf5" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/sails@0.12.7" } ], "aliases": [ "CVE-2016-10549", "GHSA-qmv4-jgp7-mf68" ], "risk_score": 4.0, "exploitability": "0.5", "weighted_severity": "8.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-4s9y-5ead-g3gu" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/361822?format=api", "vulnerability_id": "VCID-u6am-rnqu-e3gx", "summary": "Broken CORS\nSails has an issue with the CORS configuration where the value of the origin header is reflected as the value for the Access-Control-Allow-Origin header. This would allow an attacker to make AJAX requests to vulnerable hosts through cross site scripting or a malicious HTML Document, effectively bypassing the Same Origin Policy. Note that this is only an issue when `allRoutes` is set to `true` and `origin` is set to `*` or left commented out in the sails CORS config file. The problem can be compounded when the cors `credentials` setting is not provided. At that point authenticated cross domain requests are possible.", "references": [ { "reference_url": "http://sailsjs.org/documentation/concepts/security/cors", "reference_id": "", "reference_type": "", "scores": [], "url": "http://sailsjs.org/documentation/concepts/security/cors" }, { "reference_url": "http://sailsjs.org/documentation/reference/configuration/sails-config-cors", "reference_id": "", "reference_type": "", "scores": [], "url": "http://sailsjs.org/documentation/reference/configuration/sails-config-cors" }, { "reference_url": "https://github.com/balderdashy/sails/commit/ca43e0507af79f15361789a3489013b01c8e1825", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/balderdashy/sails/commit/ca43e0507af79f15361789a3489013b01c8e1825" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/14851?format=api", "purl": "pkg:npm/sails@0.12.7", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-3hs2-w4t6-yqdg" }, { "vulnerability": "VCID-49jp-55g8-kqcq" }, { "vulnerability": "VCID-zuet-qgkb-7qf5" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/sails@0.12.7" } ], "aliases": [ "GMS-2016-74" ], "risk_score": null, "exploitability": "0.5", "weighted_severity": "0.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-u6am-rnqu-e3gx" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/131751?format=api", "vulnerability_id": "VCID-zuet-qgkb-7qf5", "summary": "Sails is a realtime MVC Framework for Node.js. In Sails apps prior to version 1.5.7,, an attacker can send a virtual request that will cause the node process to crash. This behavior was fixed in Sails v1.5.7. As a workaround, disable the sockets hook and remove the `sails.io.js` client.", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2023-38504", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.003", "scoring_system": "epss", "scoring_elements": "0.53713", "published_at": "2026-06-11T12:55:00Z" }, { "value": "0.003", "scoring_system": "epss", "scoring_elements": "0.53839", "published_at": "2026-06-12T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2023-38504" }, { "reference_url": "https://github.com/balderdashy/sails", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/balderdashy/sails" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-38504", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-38504" }, { "reference_url": "https://github.com/balderdashy/sails/commit/4a023dc5095a4b30fdc8535f705ed34cd22d2f7d", "reference_id": "4a023dc5095a4b30fdc8535f705ed34cd22d2f7d", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2024-10-03T18:36:54Z/" } ], "url": "https://github.com/balderdashy/sails/commit/4a023dc5095a4b30fdc8535f705ed34cd22d2f7d" }, { "reference_url": "https://github.com/balderdashy/sails/pull/7287", "reference_id": "7287", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2024-10-03T18:36:54Z/" } ], "url": "https://github.com/balderdashy/sails/pull/7287" }, { "reference_url": "https://github.com/advisories/GHSA-gpw9-fwm8-7rx7", "reference_id": "GHSA-gpw9-fwm8-7rx7", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-gpw9-fwm8-7rx7" }, { "reference_url": "https://github.com/balderdashy/sails/security/advisories/GHSA-gpw9-fwm8-7rx7", "reference_id": "GHSA-gpw9-fwm8-7rx7", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2024-10-03T18:36:54Z/" } ], "url": "https://github.com/balderdashy/sails/security/advisories/GHSA-gpw9-fwm8-7rx7" }, { "reference_url": "https://github.com/balderdashy/sails/releases/tag/v1.5.7", "reference_id": "v1.5.7", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2024-10-03T18:36:54Z/" } ], "url": "https://github.com/balderdashy/sails/releases/tag/v1.5.7" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/381288?format=api", "purl": "pkg:npm/sails@1.5.7", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/sails@1.5.7" } ], "aliases": [ "CVE-2023-38504", "GHSA-gpw9-fwm8-7rx7" ], "risk_score": 4.0, "exploitability": "0.5", "weighted_severity": "8.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-zuet-qgkb-7qf5" } ], "fixing_vulnerabilities": [], "risk_score": "4.5", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/sails@0.7.4" }