Show plain JSON{"cve": {"data_type": "CVE", "references": {"reference_data": [{"url": "https://github.com/ericnorris/striptags/commit/f252a6b0819499cd65403707ebaf5cc925f2faca", "name": "https://github.com/ericnorris/striptags/commit/f252a6b0819499cd65403707ebaf5cc925f2faca", "tags": ["Patch", "Third Party Advisory"], "refsource": "MISC"}, {"url": "https://www.npmjs.com/package/striptags", "name": "https://www.npmjs.com/package/striptags", "tags": ["Product", "Third Party Advisory"], "refsource": "MISC"}, {"url": "https://github.com/ericnorris/striptags/security/advisories/GHSA-qxg5-2qff-p49r", "name": "https://github.com/ericnorris/striptags/security/advisories/GHSA-qxg5-2qff-p49r", "tags": ["Third Party Advisory"], "refsource": "CONFIRM"}, {"url": "https://github.com/ericnorris/striptags/releases/tag/v3.2.0", "name": "https://github.com/ericnorris/striptags/releases/tag/v3.2.0", "tags": ["Third Party Advisory"], "refsource": "MISC"}]}, "data_format": "MITRE", "description": {"description_data": [{"lang": "en", "value": "The npm package \"striptags\" is an implementation of PHP's strip_tags in Typescript. In striptags before version 3.2.0, a type-confusion vulnerability can cause `striptags` to concatenate unsanitized strings when an array-like object is passed in as the `html` parameter. This can be abused by an attacker who can control the shape of their input, e.g. if query parameters are passed directly into the function. This can lead to a XSS."}]}, "problemtype": {"problemtype_data": [{"description": [{"lang": "en", "value": "CWE-843"}]}]}, "data_version": "4.0", "CVE_data_meta": {"ID": "CVE-2021-32696", "ASSIGNER": "security-advisories@github.com"}}, "impact": {"baseMetricV2": {"cvssV2": {"version": "2.0", "baseScore": 5.0, "accessVector": "NETWORK", "vectorString": "AV:N/AC:L/Au:N/C:N/I:P/A:N", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "LOW", "availabilityImpact": "NONE", "confidentialityImpact": "NONE"}, "severity": "MEDIUM", "acInsufInfo": false, "impactScore": 2.9, "obtainAllPrivilege": false, "exploitabilityScore": 10.0, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false}, "baseMetricV3": {"cvssV3": {"scope": "UNCHANGED", "version": "3.1", "baseScore": 5.3, "attackVector": "NETWORK", "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N", "integrityImpact": "LOW", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "NONE", "privilegesRequired": "NONE", "confidentialityImpact": "NONE"}, "impactScore": 1.4, "exploitabilityScore": 3.9}}, "publishedDate": "2021-06-18T20:15Z", "configurations": {"nodes": [{"children": [], "operator": "OR", "cpe_match": [{"cpe23Uri": "cpe:2.3:a:striptags_project:striptags:*:*:*:*:*:node.js:*:*", "cpe_name": [], "vulnerable": true, "versionEndExcluding": "3.2.0"}]}], "CVE_data_version": "4.0"}, "lastModifiedDate": "2021-06-24T19:20Z"}