LiveActive security incident?Get immediate response
CVE Record

CVE-2021-24357: FooGallery < 2.0.35 - Authenticated Stored Cross-Site Scripting

In the Best Image Gallery & Responsive Photo Gallery – FooGallery WordPress plugin before 2.0.35, the Custom CSS field of each gallery is not properly sanitised or validated before being being output in the page where the gallery is embed, leading to a stored Cross-Site Scripting issue.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

A logged-in WordPress user with gallery editing access could store malicious script through FooGallery's Custom CSS field. The script may run later on pages embedding that gallery. This can affect site users or administrators who view the page, but the sources do not show unauthenticated exploitation or active exploitation.

Executive priority

Treat as a targeted website integrity risk, not an emergency internet-wide issue. Prioritize remediation where many users can edit galleries or where administrators regularly view gallery pages.

Technical view

CVE-2021-24357 is a CWE-79 stored XSS in the FooGallery WordPress plugin before 2.0.35. The gallery Custom CSS field was not properly sanitized or validated before output on embedded gallery pages. No CVSS score is provided in the source bundle.

Likely exposure

Exposure is limited to WordPress sites running FooGallery before 2.0.35, especially where non-admin authenticated users can create or edit galleries and set Custom CSS.

Exploitation context

The bundle indicates authenticated stored XSS. An attacker would need access to modify a gallery's Custom CSS field. KEV is false, and no provided source states active exploitation in the wild.

Researcher notes

The main evidence is WPScan and CVE metadata. The affected boundary is described as before 2.0.35. The bundle lacks CVSS details, exploit maturity evidence, and deeper privilege requirements.

Mitigation direction

  • Update FooGallery to version 2.0.35 or later.
  • Restrict gallery editing permissions to trusted users.
  • Review vendor guidance and plugin changelog for any additional hardening.
  • Remove untrusted Custom CSS from existing galleries.

Validation and detection

  • Inventory WordPress sites for the FooGallery plugin version.
  • Confirm no installation is running FooGallery before 2.0.35.
  • Review gallery Custom CSS fields for unexpected script-like content.
  • Check whether untrusted users have gallery editing permissions.
Prepared
Confidence
high
Sources
3

Public sources used

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-79: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-24357 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
FooPluginsBest Image Gallery & Responsive Photo Gallery – FooGallery2.0.35Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-79 · source CWE mapping

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.