{"api_version":"1","generated_at":"2026-04-22T21:38:29+00:00","cve":"CVE-2022-2371","urls":{"html":"https://cve.report/CVE-2022-2371","api":"https://cve.report/api/cve/CVE-2022-2371.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-2371","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-2371"},"summary":{"title":"CVE-2022-2371","description":"The YaySMTP WordPress plugin before 2.2.1 does not have proper authorisation when saving its settings, allowing users with a role as low as subscriber to change them, and use that to conduct Stored Cross-Site Scripting attack due to the lack of escaping in them as well.","state":"PUBLIC","assigner":"contact@wpscan.com","published_at":"2022-08-08 14:15:00","updated_at":"2022-08-12 14:30:00"},"problem_types":["CWE-79"],"metrics":[],"references":[{"url":"https://wpscan.com/vulnerability/31405f1e-fc07-43f5-afc1-9cfbaf6911b7","name":"https://wpscan.com/vulnerability/31405f1e-fc07-43f5-afc1-9cfbaf6911b7","refsource":"MISC","tags":[],"title":"YaySMTP < 2.2.1 - Subscriber+ Stored Cross-Site Scripting WordPress Security Vulnerability","mime":"text/html","httpstatus":"403","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-2371","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2371","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Rafshanzani Suhada","lang":""}],"nvd_cpes":[{"cve_year":"2022","cve_id":"2371","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"yaycommerce","cpe5":"yaysmtp","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"wordpress","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ID":"CVE-2022-2371","ASSIGNER":"contact@wpscan.com","STATE":"PUBLIC","TITLE":"YaySMTP < 2.2.1 - Subscriber+ Stored Cross-Site Scripting"},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","generator":"WPScan CVE Generator","affects":{"vendor":{"vendor_data":[{"vendor_name":"Unknown","product":{"product_data":[{"product_name":"YaySMTP – Simple WP SMTP Mail","version":{"version_data":[{"version_affected":"<","version_name":"2.2.1","version_value":"2.2.1"}]}}]}}]}},"description":{"description_data":[{"lang":"eng","value":"The YaySMTP WordPress plugin before 2.2.1 does not have proper authorisation when saving its settings, allowing users with a role as low as subscriber to change them, and use that to conduct Stored Cross-Site Scripting attack due to the lack of escaping in them as well."}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://wpscan.com/vulnerability/31405f1e-fc07-43f5-afc1-9cfbaf6911b7","name":"https://wpscan.com/vulnerability/31405f1e-fc07-43f5-afc1-9cfbaf6911b7"}]},"problemtype":{"problemtype_data":[{"description":[{"value":"CWE-79 Cross-Site Scripting (XSS)","lang":"eng"}]}]},"credit":[{"lang":"eng","value":"Rafshanzani Suhada"}],"source":{"discovery":"EXTERNAL"}},"nvd":{"publishedDate":"2022-08-08 14:15:00","lastModifiedDate":"2022-08-12 14:30:00","problem_types":["CWE-79"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.3,"impactScore":2.7}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:yaycommerce:yaysmtp:*:*:*:*:*:wordpress:*:*","versionEndExcluding":"2.2.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}