{ "data_type": "CVE", "data_format": "MITRE", "data_version": "4.0", "CVE_data_meta": { "ASSIGNER": "report@snyk.io", "DATE_PUBLIC": "2021-07-21T14:47:51.558339Z", "ID": "CVE-2021-23411", "STATE": "PUBLIC", "TITLE": "Cross-site Scripting (XSS)" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "anchorme", "version": { "version_data": [ { "version_affected": ">=", "version_value": "0" } ] } } ] }, "vendor_name": "n/a" } ] } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "Cross-site Scripting (XSS)" } ] } ] }, "references": { "reference_data": [ { "refsource": "MISC", "url": "https://snyk.io/vuln/SNYK-JS-ANCHORME-1311008", "name": "https://snyk.io/vuln/SNYK-JS-ANCHORME-1311008" }, { "refsource": "MISC", "url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1320695", "name": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1320695" }, { "refsource": "MISC", "url": "https://github.com/alexcorvi/anchorme.js/blob/gh-pages/src/transform.ts%23L81", "name": "https://github.com/alexcorvi/anchorme.js/blob/gh-pages/src/transform.ts%23L81" } ] }, "description": { "description_data": [ { "lang": "eng", "value": "Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the main functionality. It accepts input that can result in the output (an anchor a tag) containing undesirable Javascript code that can be executed upon user interaction." } ] }, "impact": { "cvss": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE" } }, "credit": [ { "lang": "eng", "value": "Gabor Matuz" } ] }