CVE-2019-16119
Description
SQL injection in the photo-gallery (10Web Photo Gallery) plugin before 1.5.35 for WordPress exists via the admin/controllers/Albumsgalleries.php album_id parameter.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
SQL injection vulnerability in WordPress Photo Gallery plugin before 1.5.35 allows admin-level SQL injection via album_id parameter in Albumsgalleries.php.
Vulnerability
The Photo Gallery plugin by 10Web for WordPress versions before 1.5.35 suffers from a SQL injection vulnerability. The issue resides in the admin/controllers/Albumsgalleries.php file, where the album_id parameter is directly passed to database queries without proper sanitization [2][3]. The vulnerability is reachable via the admin panel, requiring the attacker to have administrative credentials.
Exploitation
An attacker with WordPress admin privileges can exploit this by sending a crafted request to the admin AJAX endpoint, manipulating the album_id parameter to inject malicious SQL commands. The attack does not require any special network access beyond being logged in as an admin [2].
Impact
Successful exploitation allows an attacker to execute arbitrary SQL queries, potentially leading to unauthorized data access, modification, or deletion of the WordPress database. This could result in full site compromise, including user credential theft and malicious content injection [2].
Mitigation
The vulnerability is fixed in version 1.5.35 of the plugin [1]. Users are strongly advised to update to the latest version immediately. As of the publication date, no workaround is available without applying the patch [3].
AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2- WordPress/photo-gallerydescription
Patches
0No patches discovered yet.
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
4- packetstormsecurity.com/files/154432/WordPress-Photo-Gallery-1.5.34-SQL-Injection.htmlmitrex_refsource_MISC
- plugins.trac.wordpress.org/changeset/2150912/photo-gallery/trunk/admin/controllers/Albumsgalleries.phpmitrex_refsource_MISC
- wordpress.org/plugins/photo-gallery/mitrex_refsource_MISC
- wpvulndb.com/vulnerabilities/9872mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.