Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-6383: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in fmos WP-PhotoNav

0
Medium
VulnerabilityCVE-2025-6383cvecve-2025-6383cwe-79
Published: Thu Jun 26 2025 (06/26/2025, 02:06:34 UTC)
Source: CVE Database V5
Vendor/Project: fmos
Product: WP-PhotoNav

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/26/2026, 15:33:29 UTC

Technical Analysis

CVE-2025-6383 is a stored cross-site scripting vulnerability identified in the WP-PhotoNav plugin for WordPress, affecting all versions up to and including 1.2.2. The vulnerability stems from improper neutralization of input during web page generation, specifically insufficient sanitization and escaping of user-supplied attributes in the plugin's photonav shortcode. This flaw allows authenticated users with contributor-level access or higher to inject arbitrary JavaScript code into pages. When other users access these compromised pages, the injected scripts execute in their browsers, potentially leading to session hijacking, credential theft, or unauthorized actions performed with the victim's privileges. The vulnerability has a CVSS 3.1 base score of 6.4, reflecting medium severity, with an attack vector of network, low attack complexity, requiring privileges but no user interaction, and a scope change due to the impact crossing security boundaries. No patches or official fixes are currently linked, and no known exploits have been reported in the wild. The vulnerability highlights the risks of insufficient input validation in WordPress plugins, especially those that allow shortcode attributes to be user-controlled. Given WordPress's widespread use, this vulnerability could be leveraged in targeted attacks against websites that use WP-PhotoNav and allow contributor-level user registrations or higher.

Potential Impact

The primary impact of this vulnerability is on the confidentiality and integrity of affected WordPress sites. Successful exploitation allows an authenticated contributor or higher to inject malicious scripts that execute in the context of other users' browsers, potentially leading to session hijacking, theft of sensitive information, or unauthorized actions performed on behalf of victims. While availability is not directly impacted, the injected scripts could be used to deploy further attacks or malware, indirectly affecting site stability or reputation. Organizations running WP-PhotoNav on public-facing WordPress sites with multiple contributors or user roles are at risk of internal threat actors or compromised accounts exploiting this flaw. This could lead to data breaches, defacement, or lateral movement within the site administration. The medium CVSS score reflects that exploitation requires some privileges, limiting the attack surface to sites with multiple authenticated users. However, the scope change indicates that the vulnerability can affect users beyond the attacker, increasing potential damage. The lack of known exploits in the wild suggests limited current exploitation but also highlights the need for proactive mitigation before attackers develop weaponized payloads.

Mitigation Recommendations

To mitigate CVE-2025-6383, organizations should first check for and apply any available updates or patches from the WP-PhotoNav plugin vendor once released. In the absence of official patches, administrators should consider temporarily disabling the WP-PhotoNav plugin or removing the photonav shortcode usage from content to eliminate the attack vector. Restrict contributor-level access and above to trusted users only, and audit existing user roles to minimize the number of accounts that can exploit this vulnerability. Implement web application firewall (WAF) rules to detect and block suspicious shortcode attribute inputs containing script tags or event handlers. Employ Content Security Policy (CSP) headers to restrict the execution of inline scripts and reduce the impact of any injected scripts. Regularly monitor site content for unauthorized script injections and review logs for unusual contributor activity. Educate content contributors about the risks of injecting untrusted code and enforce strict input validation on any custom shortcodes or plugins. Finally, consider isolating critical administrative functions and sensitive data behind additional authentication layers to limit the damage from compromised user accounts.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-06-19T20:32:17.426Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 685cac9ee230f5b234861228

Added to database: 6/26/2025, 2:12:46 AM

Last enriched: 2/26/2026, 3:33:29 PM

Last updated: 3/25/2026, 3:10:28 PM

Views: 94

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses