---
id: CVE-2025-9030
title: >-
  The Majestic Before After Image plugin for WordPress is vulnerable to Stored
  Cross-Site Scripting via the 'before_label' and 'after_label' parameters in
  versions less than, or equal to, 2.0.1 due to insufficient input sanitization
  and ou…
summary: >-
  The Majestic Before After Image plugin for WordPress is vulnerable to Stored
  Cross-Site Scripting via the 'before_label' and 'after_label' parameters in
  versions less than, or equal to, 2.0.1 due to insufficient input sanitization
  and ou…
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'
cwe:
  - CWE-79
published: '2025-10-04'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T22:10:00.563'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-9030'
references:
  - url: >-
      https://plugins.trac.wordpress.org/changeset/3358300/majestic-before-after-image
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/e54f1a23-0b1f-4b0b-909e-e877e4ee2c86?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.00193
epssPercentile: 0.08196
ingestedAt: '2026-10-08T22:11:53.781Z'
---

## Overview

The Majestic Before After Image plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'before_label' and 'after_label' parameters in versions less than, or equal to, 2.0.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
