gsd-2022-4670
Vulnerability from gsd
Modified
2023-12-13 01:19
Details
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.
Aliases
Aliases
{ GSD: { alias: "CVE-2022-4670", description: "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.", id: "GSD-2022-4670", }, gsd: { metadata: { exploitCode: "unknown", remediation: "unknown", reportConfidence: "confirmed", type: "vulnerability", }, osvSchema: { aliases: [ "CVE-2022-4670", ], details: "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.", id: "GSD-2022-4670", modified: "2023-12-13T01:19:15.957407Z", schema_version: "1.4.0", }, }, namespaces: { "cve.org": { CVE_data_meta: { ASSIGNER: "contact@wpscan.com", ID: "CVE-2022-4670", STATE: "PUBLIC", }, affects: { vendor: { vendor_data: [ { product: { product_data: [ { product_name: "PDF.js Viewer", version: { version_data: [ { version_affected: "=", version_value: "0", }, ], }, }, ], }, vendor_name: "Unknown", }, ], }, }, credits: [ { lang: "en", value: "Lana Codes", }, { lang: "en", value: "WPScan", }, ], data_format: "MITRE", data_type: "CVE", data_version: "4.0", description: { description_data: [ { lang: "eng", 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.", }, ], }, generator: { engine: "WPScan CVE Generator", }, problemtype: { problemtype_data: [ { description: [ { lang: "eng", value: "CWE-79 Cross-Site Scripting (XSS)", }, ], }, ], }, references: { reference_data: [ { name: "https://wpscan.com/vulnerability/2a67c290-2a27-44fe-95ae-2d427e9d7548", refsource: "MISC", url: "https://wpscan.com/vulnerability/2a67c290-2a27-44fe-95ae-2d427e9d7548", }, ], }, source: { discovery: "EXTERNAL", }, }, "gitlab.com": { advisories: [ { affected_range: "<2.1.8", affected_versions: "All versions before 2.1.8", cvss_v3: "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", cwe_ids: [ "CWE-1035", "CWE-79", "CWE-937", ], date: "2023-02-14", description: "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.", fixed_versions: [ "2.1.8", ], identifier: "CVE-2022-4670", identifiers: [ "CVE-2022-4670", ], not_impacted: "All versions starting from 2.1.8", package_slug: "npm/pdf.js", pubdate: "2023-02-06", solution: "Upgrade to version 2.1.8 or above.", title: "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')", urls: [ "https://nvd.nist.gov/vuln/detail/CVE-2022-4670", "https://wpscan.com/vulnerability/2a67c290-2a27-44fe-95ae-2d427e9d7548", ], uuid: "b3bd3a22-ad75-4ee5-b827-41576d30ffcd", }, ], }, "nvd.nist.gov": { configurations: { CVE_data_version: "4.0", nodes: [ { children: [], cpe_match: [ { cpe23Uri: "cpe:2.3:a:pdf.js_viewer_project:pdf.js_viewer:*:*:*:*:*:wordpress:*:*", cpe_name: [], versionEndExcluding: "2.1.8", vulnerable: true, }, ], operator: "OR", }, ], }, cve: { CVE_data_meta: { ASSIGNER: "contact@wpscan.com", ID: "CVE-2022-4670", }, data_format: "MITRE", data_type: "CVE", data_version: "4.0", description: { description_data: [ { 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.", }, ], }, problemtype: { problemtype_data: [ { description: [ { lang: "en", value: "CWE-79", }, ], }, ], }, references: { reference_data: [ { name: "https://wpscan.com/vulnerability/2a67c290-2a27-44fe-95ae-2d427e9d7548", refsource: "MISC", tags: [ "Exploit", "Third Party Advisory", ], url: "https://wpscan.com/vulnerability/2a67c290-2a27-44fe-95ae-2d427e9d7548", }, ], }, }, impact: { baseMetricV3: { cvssV3: { attackComplexity: "LOW", attackVector: "NETWORK", availabilityImpact: "NONE", baseScore: 5.4, baseSeverity: "MEDIUM", confidentialityImpact: "LOW", integrityImpact: "LOW", privilegesRequired: "LOW", scope: "CHANGED", userInteraction: "REQUIRED", vectorString: "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", version: "3.1", }, exploitabilityScore: 2.3, impactScore: 2.7, }, }, lastModifiedDate: "2023-02-14T02:39Z", publishedDate: "2023-02-06T20:15Z", }, }, }
Log in or create an account to share your comment.
Security Advisory comment format.
This schema specifies the format of a comment related to a security advisory.
Title of the comment
Description of the comment
Loading…
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.