Cyber Posture

CVE-2024-56036

High

Published: 02 January 2025

Published
02 January 2025
Modified
23 April 2026
KEV Added
Patch
CVSS Score 7.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
EPSS Score 0.0014 34.2th percentile
Risk Priority 14 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2024-56036 is a high-severity Cross-site Scripting (CWE-79) vulnerability. Its CVSS base score is 7.1 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique JavaScript (T1059.007); ranked at the 34.2th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-15 (Information Output Filtering).

Threat & Defense at a Glance

What attackers do: exploitation maps to JavaScript (T1059.007) and 1 other technique. What defenders deploy: see the NIST 800-53 controls recommended below.
Threat & Defense Details

Mitigating Controls (NIST 800-53 r5)AI

prevent

Filters web page outputs to neutralize malicious scripts reflected from unsanitized user input, directly preventing XSS execution in the victim's browser.

prevent

Validates and sanitizes user inputs such as malicious URLs before processing, blocking injection of XSS payloads into the odPhotogallery plugin.

prevent

Requires identification, reporting, and patching of flaws like the reflected XSS in od-photogallery-plugin versions up to 0.5.3.

MITRE ATT&CK Enterprise TechniquesAI

T1059.007 JavaScript Execution
Adversaries may abuse various implementations of JavaScript for execution.
T1185 Browser Session Hijacking Collection
Adversaries may take advantage of security vulnerabilities and inherent functionality in browser software to change content, modify user-behaviors, and intercept information as part of various browser session hijacking techniques.
Why these techniques?

Reflected XSS directly enables arbitrary JavaScript execution in the browser (T1059.007) and facilitates session hijacking via stolen cookies or tokens (T1185).

Confidence: MEDIUM · MITRE ATT&CK Enterprise v18.1

NVD Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Ondrej Donek odPhotogallery od-photogallery-plugin allows Reflected XSS.This issue affects odPhotogallery: from n/a through <= 0.5.3.

Deeper analysisAI

CVE-2024-56036 is a reflected cross-site scripting (XSS) vulnerability, classified under CWE-79 for improper neutralization of input during web page generation. It affects the odPhotogallery WordPress plugin (od-photogallery-plugin) developed by Ondrej Donek, impacting all versions up to and including 0.5.3. The vulnerability enables attackers to inject malicious scripts into web pages viewed by users, with a CVSS v3.1 base score of 7.1 (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L), rated as High severity.

The attack requires network access and low complexity, with no privileges needed but user interaction such as clicking a malicious link. An attacker can craft a URL containing a malicious payload that reflects unsanitized user input back into the page, executing arbitrary JavaScript in the victim's browser context. This leads to low impacts on confidentiality, integrity, and availability, but the changed scope (S:C) allows potential effects beyond the vulnerable component, such as session hijacking or phishing within the WordPress site's user base.

Patchstack has documented the vulnerability in its database, providing details on the affected WordPress plugin version 0.5.3 at https://patchstack.com/database/Wordpress/Plugin/od-photogallery-plugin/vulnerability/wordpress-odphotogallery-plugin-0-5-3-reflected-cross-site-scripting-xss-vulnerability?_s_id=cve. Security practitioners should update to a patched version if available or apply input sanitization workarounds, while monitoring for plugin updates.

Details

CWE(s)

CVEs Like This One

CVE-2026-24838Shared CWE-79
CVE-2025-1401Shared CWE-79
CVE-2024-56018Shared CWE-79
CVE-2026-1819Shared CWE-79
CVE-2025-22598Shared CWE-79
CVE-2025-0555Shared CWE-79
CVE-2025-24541Shared CWE-79
CVE-2026-24744Shared CWE-79
CVE-2025-10553Shared CWE-79
CVE-2025-23553Shared CWE-79

References