CVE-2022-0248
Published: 14 March 2022
Summary
CVE-2022-0248 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Contact Form Submissions Project Contact Form Submissions. Its CVSS base score is 6.1 (Medium).
Operationally, ranked in the top 5.3% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
The Contact Form Submissions WordPress plugin before version 1.7.3 is affected by a stored cross-site scripting vulnerability tracked as CVE-2022-0248. The root cause is insufficient sanitization and escaping of additional custom fields supplied in contact form submissions, which are later rendered without encoding when an administrator views the stored submission record. The flaw is classified under CWE-79 and carries a CVSS 3.1 score of 6.1.
An unauthenticated remote attacker can submit a contact form containing malicious JavaScript in one or more additional fields. When an administrator subsequently reviews the submission through the plugin’s administrative interface, the script executes in the administrator’s browser context, enabling actions such as session hijacking, administrative action forgery, or further plugin or site compromise.
Public references point to the official plugin changeset that implements input sanitization and output escaping, along with the corresponding WPScan advisory. Site operators are therefore advised to update the Contact Form Submissions plugin to version 1.7.3 or later to eliminate the exposure. The associated EPSS score has remained flat at 0.1482 with no material post-disclosure increase.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-15440
Vulnerability details
The Contact Form Submissions WordPress plugin before 1.7.3 does not sanitise and escape additional fields in contact form requests before outputting them in the related submission. As a result, unauthenticated attacker could perform Cross-Site Scripting attacks against admins viewing the…
more
malicious submission
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.
Validates web inputs to reject script-related content that could produce XSS.
Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.