CVE-2025-6012

Auto Attachments <= 1.8.5 - Authenticated (Administrator+) Stored Cross-Site Scripting

Published Jun 13, 2025 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
The Auto Attachments plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 1.8.5 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.

Analysis

AI-generated

Technical impact

The Auto Attachments plugin contains a stored cross‑site scripting flaw that arises from insufficient input sanitization and output escaping in its admin settings. An attacker who has administrator‑level permissions can inject arbitrary JavaScript that, once saved, will run in the browsers of any user who views the affected page. The vulnerability permits client‑side code execution but does not provide direct server‑side access.

Affected Systems

The flaw affects the Auto Attachments plugin from kaisercrazy in all releases up to and including version 1.8.5. It is relevant only on WordPress multisite installations or sites where the unfiltered_html filter is disabled, and only accounts with administrator or higher privileges can perform the exploit.

Risk and Exploitability

The CVSS score of 5.5 indicates moderate severity, and its EPSS score of less than 1% suggests a low probability of exploitation at this time. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires authenticated access to the WordPress admin interface; the attacker modifies plugin settings to insert the payload, which is then executed when any visitor loads the page.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Contact the plugin author or consult official plugin documentation to obtain a patched version or confirm if a fix has been issued; apply the update as soon as it becomes available.
  • Remove any existing malicious scripts or suspicious content from the plugin’s admin settings and verify that no payloads remain.
  • Restrict administrator privileges to trusted users and consider removing or disabling the Auto Attachments plugin if it is no longer required, to reduce the attack surface.

Generated by OpenCVE AI on April 22, 2026 at 06:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-18246 The Auto Attachments plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 1.8.5 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00041}

epss

{'score': 0.00044}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description The Auto Attachments plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 1.8.5 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.
Title Auto Attachments <= 1.8.5 - Authenticated (Administrator+) Stored Cross-Site Scripting
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:L'}

Subscriptions

No data.

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 5:10 PM
Reserved
Jun 11, 2025, 6:57 PM
Status
Deferred
Published
Jun 13, 2025, 8:15 AM
Modified
Jun 17, 2026, 10:00 AM