define_constants
photo-gallery/trunk/photo-gallery.php
Last patched
Overview
define_constants in photo-gallery/trunk/photo-gallery.php (wordpress-plugins/plugins) was changed by 6 published CVE fixes between 2019 and 2026, in 5 distinct patches that added or removed 24 lines in total.
wordpress-plugins/plugins has 996 CVEs with a located fix in total, so 1% of them touched this function.
CVEs that patched it
Every published CVE whose fix changed define_constants, newest first, with the lines each fix touched.
CVE-2026-86311 · lines 110–111 · +2 −2
Medium · CVSS 6.4EPSS 0.3%2026-09-17CVE-2026-9829 · lines 110–111 · +2 −2
Medium · CVSS 6.5EPSS 0.5%2026-06-06CVE-2024-5481 · lines 111–112 · +2 −2
High · CVSS 8.8EPSS 0.7%2024-06-07CVE-2024-5426 · lines 111–112 · +2 −2
Medium · CVSS 6.4EPSS 0.3%2024-06-07CVE-2021-25041 · lines 108–109 · +2 −2
Medium · CVSS 6.1EPSS 0.9%2021-12-06CVE-2019-14313 · lines 87–88 · +2 −2
Critical · CVSS 9.8EPSS 4.5%2019-07-30
Get an alert when the next CVE fix lands in wordpress-plugins/plugins, with the patched functions.
Monitor these CVEsOther functions in these files
Functions in the same file that CVE fixes also changed.
- 1dismiss_noticephoto-gallery/trunk/photo-gallery.php1 patch · 2 CVEs2024
- 2register_admin_scriptsphoto-gallery/trunk/photo-gallery.php1 patch · 2 CVEs2024
- 3admin_menuphoto-gallery/trunk/photo-gallery.php1 patch · 1 CVE2021
- 4bwg_registerphoto-gallery/trunk/photo-gallery.php1 patch · 1 CVE2021
- 5frontend_dataphoto-gallery/trunk/photo-gallery.php1 patch · 1 CVE2021
Other hotspots in the repository
Functions in wordpress-plugins/plugins changed by the most distinct patches.
Frequently asked questions
Common questions about CVE fixes to define_constants.
- How many CVEs have patched define_constants?
- 6 published CVEs changed define_constants in wordpress-plugins/plugins, in 5 distinct patches totalling 24 changed lines, between 2019 and 2026.
- What is the latest CVE that changed define_constants?
- CVE-2026-86311 (Photo Gallery by 10Web – Mobile-Friendly Image Gallery <= 1.8.44 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attributes), published 2026-09-17, changed lines 110 to 111 of photo-gallery/trunk/photo-gallery.php.
- How does define_constants compare to the rest of wordpress-plugins/plugins?
- wordpress-plugins/plugins has 996 CVEs with a located fix in total; 6 of them changed define_constants.
- What do the line numbers refer to?
- Line numbers are in the fixed version of the file, as the upstream patch left it. A CVE whose fix was backported to several branches is listed once, with the lines from the upstream commit.
References
- photo-gallery/trunk/photo-gallery.php on GitHub (opens in a new tab)
- All patched functions in wordpress-plugins/plugins
- Patched functions directory
Fix locations are computed by RadicalNotion.AI from the upstream patch diff of each CVE. CVE data is sourced from the CVE Program.
Track wordpress-plugins/plugins CVEs
Get an alert when a new CVE lands in this repository, with the patched functions and AI-written remediation guidance.