Description
The WP-PhotoNav plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's photonav shortcode in all versions up to, and including, 1.2.2 due to insufficient input sanitization and output escaping on user supplied attributes. 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.
Published: 2025-06-26
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Immediate Patch
AI Analysis

Impact

The WP‑PhotoNav plugin allows authenticated users with contributor or higher roles to insert the photonav shortcode with arbitrary attributes, and the plugin fails to properly sanitize or escape the supplied values. This stored cross‑site scripting flaw, identified as CWE‑79, lets an attacker embed malicious scripts in posts or pages that execute whenever any user views the affected content. The consequences could include session hijacking, defacement, or delivery of malware to site visitors.

Affected Systems

The vulnerability exists in all releases of the WP‑PhotoNav plugin for WordPress up to and including version 1.2.2. Users running this plugin, regardless of WordPress version, are potentially affected.

Risk and Exploitability

The CVSS score of 6.4 indicates a moderate severity, while the EPSS score of less than 1 % suggests a low probability of exploitation under normal circumstances. The flaw is not yet catalogued in the CISA KEV list. Exploitation requires the attacker to possess contributor‑level or higher authorisation and to be able to create or edit content that contains the photonav shortcode; no external trigger or vulnerability in WordPress core mitigates this.

Generated by OpenCVE AI on April 20, 2026 at 20:26 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade WP‑PhotoNav to the first available release above 1.2.2 once an official patch is distributed by the vendor.
  • If an immediate upgrade is not possible, remove or neutralise any existing photonav shortcode instances that contain user‑supplied attributes and perform a full audit of published content for embedded scripts.
  • Limit the ability of contributor‑level users to embed the photonav shortcode or enforce stricter input validation rules for shortcode attributes until a confirmed patch is applied.

Generated by OpenCVE AI on April 20, 2026 at 20:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-19387 The WP-PhotoNav plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's photonav shortcode in all versions up to, and including, 1.2.2 due to insufficient input sanitization and output escaping on user supplied attributes. 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.
History

Mon, 07 Jul 2025 17:30:00 +0000

Type Values Removed Values Added
First Time appeared Fmos
Fmos wp-photonav
CPEs cpe:2.3:a:fmos:wp-photonav:*:*:*:*:*:wordpress:*:*
Vendors & Products Fmos
Fmos wp-photonav

Fri, 27 Jun 2025 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 26 Jun 2025 02:15:00 +0000

Type Values Removed Values Added
Description The WP-PhotoNav plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's photonav shortcode in all versions up to, and including, 1.2.2 due to insufficient input sanitization and output escaping on user supplied attributes. 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.
Title WP-PhotoNav <= 1.2.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via photonav Shortcode
Weaknesses CWE-79
References
Metrics cvssV3_1

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


Subscriptions

Fmos Wp-photonav
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T17:19:38.104Z

Reserved: 2025-06-19T20:32:17.426Z

Link: CVE-2025-6383

cve-icon Vulnrichment

Updated: 2025-06-27T14:41:24.221Z

cve-icon NVD

Status : Analyzed

Published: 2025-06-26T02:15:23.040

Modified: 2025-07-08T11:31:13.823

Link: CVE-2025-6383

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-20T20:30:16Z

Weaknesses