{"dataType": "CVE_RECORD", "containers": {"cna": {"metrics": [{"format": "CVSS", "cvssV3_1": {"scope": "CHANGED", "version": "3.1", "baseScore": 5.4, "attackVector": "NETWORK", "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", "integrityImpact": "LOW", "userInteraction": "REQUIRED", "attackComplexity": "LOW", "availabilityImpact": "NONE", "privilegesRequired": "LOW", "confidentialityImpact": "LOW"}}], "affected": [{"cpes": ["cpe:2.3:a:pdf.js_viewer_project:pdf.js_viewer:*:*:*:*:*:wordpress:*:*"], "vendor": "pdf.js_viewer_project", "product": "pdf.js_viewer", "versions": [{"status": "affected", "version": "0", "lessThan": "2.1.8", "versionType": "custom"}], "platforms": ["wordpress"], "defaultStatus": "unaffected"}], "references": [{"url": "https://wpscan.com/vulnerability/2a67c290-2a27-44fe-95ae-2d427e9d7548", "tags": ["exploit", "third-party-advisory"]}], "descriptions": [{"lang": "en", "value": "The PDF.js Viewer WordPress plugin before 2.1.8 does not validate and escape some of its shortcode attributes before outputting them back in a page/post where the shortcode is embed, which could allow users with the contributor role and above to perform Stored Cross-Site Scripting attacks."}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2023-02-06T20:15:11Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2022-4670", "state": "PUBLISHED", "dateUpdated": "2025-03-25T20:15:16Z", "assignerOrgId": "1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81", "datePublished": "2023-02-06T20:15:11Z", "assignerShortName": "WPScan"}, "dataVersion": "5.0"}