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-12377: CWE-862 Missing Authorization in smub Gallery Plugin for WordPress – Envira Photo Gallery

0
Medium
VulnerabilityCVE-2025-12377cvecve-2025-12377cwe-862
Published: Thu Nov 13 2025 (11/13/2025, 11:29:03 UTC)
Source: CVE Database V5
Vendor/Project: smub
Product: Gallery Plugin for WordPress – Envira Photo Gallery

Description

The Gallery Plugin for WordPress – Envira Photo Gallery plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on several functions in all versions up to, and including, 1.12.0. This makes it possible for authenticated attackers, with Author-level access and above, to perform multiple actions, such as removing images from arbitrary galleries. The vulnerability was partially patched in version 1.12.0.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 20:26:35 UTC

Technical Analysis

CVE-2025-12377 is a missing authorization vulnerability (CWE-862) found in the Envira Photo Gallery plugin for WordPress, developed by smub. The vulnerability arises because the plugin fails to perform proper capability checks on several functions that manage gallery content. This flaw allows authenticated users with Author-level privileges or higher to perform unauthorized modifications, such as removing images from any gallery, regardless of ownership or intended permissions. The vulnerability affects all versions up to and including 1.12.0, with a partial fix introduced in version 1.12.0, indicating that some but not all vulnerable functions were addressed. The CVSS v3.1 base score is 4.3 (medium), reflecting that the attack vector is network-based, requires low attack complexity, and privileges at the Author level, but does not impact confidentiality or availability. No user interaction is needed for exploitation. The vulnerability primarily compromises data integrity by allowing unauthorized content modification. Since WordPress is widely used globally and Envira Photo Gallery is a popular plugin for managing image galleries, this vulnerability poses a risk to many websites that rely on this plugin for media management. The lack of a complete patch means that sites running vulnerable versions remain at risk until fully updated. No known exploits have been reported in the wild, but the vulnerability's nature makes it a candidate for exploitation by malicious insiders or compromised accounts.

Potential Impact

The primary impact of CVE-2025-12377 is unauthorized modification of gallery content, specifically the removal of images from galleries. This compromises data integrity and can disrupt website content presentation, potentially damaging brand reputation and user trust. For organizations relying on Envira Photo Gallery to showcase products, portfolios, or other critical visual content, unauthorized deletions could lead to operational disruptions and loss of valuable media assets. Although the vulnerability does not directly affect confidentiality or availability, the ability to alter content without proper authorization can be leveraged for defacement or misinformation campaigns. Attackers with Author-level access could exploit this flaw to manipulate galleries, which might also be used as a stepping stone for further attacks if combined with other vulnerabilities or social engineering. Since exploitation requires authenticated access at a relatively low privilege level, the risk is heightened in environments where user account management is lax or where Author-level accounts are widely distributed. The absence of known exploits in the wild reduces immediate risk but does not eliminate the potential for future attacks, especially as threat actors often target popular WordPress plugins.

Mitigation Recommendations

To mitigate CVE-2025-12377, organizations should immediately verify the version of the Envira Photo Gallery plugin in use and plan to upgrade to a version that fully patches the vulnerability once it is released beyond the partial fix in 1.12.0. Until a complete patch is available, administrators should restrict Author-level privileges to trusted users only and consider temporarily reducing user roles or permissions where feasible. Implementing strict access controls and monitoring user activities related to gallery management can help detect unauthorized modifications early. Additionally, employing Web Application Firewalls (WAFs) with rules tailored to detect anomalous requests targeting gallery modification endpoints may provide a layer of defense. Regular backups of gallery content should be maintained to enable quick restoration in case of unauthorized changes. Security teams should also audit plugin configurations and consider alternative plugins with stronger security postures if timely patching is not possible. Finally, educating users with Author-level access about the risks and encouraging strong authentication practices can reduce the likelihood of account compromise.

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

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2025-10-28T00:08:29.199Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6915c26127981db3b432b94c

Added to database: 11/13/2025, 11:34:57 AM

Last enriched: 2/27/2026, 8:26:35 PM

Last updated: 3/24/2026, 4:24:42 PM

Views: 128

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