Lookup for vulnerabilities affecting packages.

GET /api/vulnerabilities/54079?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/54079?format=api",
    "vulnerability_id": "VCID-g4vb-5w8f-n3ex",
    "summary": "Injection Vulnerability\nIn less-openui5, when processing theming resources (i.e. `*.less` files) with less-openui5 that originate from an untrusted source, those resources might contain JavaScript code which will be executed in the context of the build process.",
    "aliases": [
        {
            "alias": "CVE-2021-21316"
        },
        {
            "alias": "GHSA-3crj-w4f5-gwh4"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/79779?format=api",
            "purl": "pkg:npm/less-openui5@0.10.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/less-openui5@0.10.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/289492?format=api",
            "purl": "pkg:npm/less-openui5@0.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g4vb-5w8f-n3ex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/less-openui5@0.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/289493?format=api",
            "purl": "pkg:npm/less-openui5@0.1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g4vb-5w8f-n3ex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/less-openui5@0.1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/289494?format=api",
            "purl": "pkg:npm/less-openui5@0.1.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g4vb-5w8f-n3ex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/less-openui5@0.1.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/289495?format=api",
            "purl": "pkg:npm/less-openui5@0.1.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g4vb-5w8f-n3ex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/less-openui5@0.1.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/289496?format=api",
            "purl": "pkg:npm/less-openui5@0.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g4vb-5w8f-n3ex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/less-openui5@0.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/289497?format=api",
            "purl": "pkg:npm/less-openui5@0.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g4vb-5w8f-n3ex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/less-openui5@0.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/289498?format=api",
            "purl": "pkg:npm/less-openui5@0.3.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g4vb-5w8f-n3ex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/less-openui5@0.3.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/289499?format=api",
            "purl": "pkg:npm/less-openui5@0.4.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g4vb-5w8f-n3ex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/less-openui5@0.4.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/289500?format=api",
            "purl": "pkg:npm/less-openui5@0.5.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g4vb-5w8f-n3ex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/less-openui5@0.5.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/289501?format=api",
            "purl": "pkg:npm/less-openui5@0.5.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g4vb-5w8f-n3ex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/less-openui5@0.5.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/289502?format=api",
            "purl": "pkg:npm/less-openui5@0.5.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g4vb-5w8f-n3ex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/less-openui5@0.5.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/289503?format=api",
            "purl": "pkg:npm/less-openui5@0.5.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g4vb-5w8f-n3ex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/less-openui5@0.5.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/289504?format=api",
            "purl": "pkg:npm/less-openui5@0.5.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g4vb-5w8f-n3ex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/less-openui5@0.5.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/289505?format=api",
            "purl": "pkg:npm/less-openui5@0.6.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g4vb-5w8f-n3ex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/less-openui5@0.6.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/289506?format=api",
            "purl": "pkg:npm/less-openui5@0.7.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g4vb-5w8f-n3ex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/less-openui5@0.7.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/289507?format=api",
            "purl": "pkg:npm/less-openui5@0.8.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g4vb-5w8f-n3ex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/less-openui5@0.8.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/289508?format=api",
            "purl": "pkg:npm/less-openui5@0.8.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g4vb-5w8f-n3ex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/less-openui5@0.8.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/289509?format=api",
            "purl": "pkg:npm/less-openui5@0.8.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g4vb-5w8f-n3ex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/less-openui5@0.8.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/289510?format=api",
            "purl": "pkg:npm/less-openui5@0.8.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g4vb-5w8f-n3ex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/less-openui5@0.8.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/289511?format=api",
            "purl": "pkg:npm/less-openui5@0.8.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g4vb-5w8f-n3ex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/less-openui5@0.8.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/289512?format=api",
            "purl": "pkg:npm/less-openui5@0.8.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g4vb-5w8f-n3ex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/less-openui5@0.8.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/289513?format=api",
            "purl": "pkg:npm/less-openui5@0.8.6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g4vb-5w8f-n3ex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/less-openui5@0.8.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/289514?format=api",
            "purl": "pkg:npm/less-openui5@0.8.7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g4vb-5w8f-n3ex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/less-openui5@0.8.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/289515?format=api",
            "purl": "pkg:npm/less-openui5@0.9.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-g4vb-5w8f-n3ex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/less-openui5@0.9.0"
        }
    ],
    "references": [
        {
            "reference_url": "http://lesscss.org/usage/#less-options-enable-inline-javascript-deprecated-",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://lesscss.org/usage/#less-options-enable-inline-javascript-deprecated-"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-21316",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00301",
                    "scoring_system": "epss",
                    "scoring_elements": "0.53666",
                    "published_at": "2026-06-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-21316"
        },
        {
            "reference_url": "https://github.com/SAP/less-openui5/commit/c0d3a8572974a20ea6cee42da11c614a54f100e8",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/SAP/less-openui5/commit/c0d3a8572974a20ea6cee42da11c614a54f100e8"
        },
        {
            "reference_url": "https://github.com/SAP/less-openui5/releases/tag/v0.10.0",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/SAP/less-openui5/releases/tag/v0.10.0"
        },
        {
            "reference_url": "https://github.com/SAP/less-openui5/security/advisories/GHSA-3crj-w4f5-gwh4",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/SAP/less-openui5/security/advisories/GHSA-3crj-w4f5-gwh4"
        },
        {
            "reference_url": "https://www.npmjs.com/package/less-openui5",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.npmjs.com/package/less-openui5"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-21316",
            "reference_id": "CVE-2021-21316",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-21316"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 74,
            "name": "Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')",
            "description": "The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        }
    ],
    "exploits": [],
    "severity_range_score": "6.3 - 8.9",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-g4vb-5w8f-n3ex"
}