CVE-2023-2817
PHP vulnerability analysis and mitigation

Overview

A post-authentication stored cross-site scripting (XSS) vulnerability was discovered in Craft CMS versions 4.0.0 through 4.4.11, identified as CVE-2023-2817. The vulnerability was discovered in May 2023 and allows HTML injection, including script tags, into field names which can be triggered when users visit the Categories or Entries pages (Tenable Advisory, NVD).

Technical details

The vulnerability allows authenticated users to inject HTML and script tags into field names when creating new fields. When these fields are added to a category or section, the malicious payload executes when users access the Categories or Entries pages. The vulnerability has been assigned a CVSS v3.1 base score of 5.4 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N (NVD).

Impact

If exploited, this vulnerability could allow attackers to execute arbitrary JavaScript code in the context of other users' browsers who visit the affected pages. This could potentially lead to theft of sensitive information, session hijacking, or other client-side attacks (Tenable Advisory).

Mitigation and workarounds

The vulnerability has been fixed in a GitHub commit and was scheduled to be included in the next release after version 4.4.11. Users are advised to upgrade to the patched version when available. The fix involves proper escaping of field labels in the affected components (GitHub Patch).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-13828CRITICAL9
  • PHPPHP
  • mautic/core
NoYesDec 02, 2025
CVE-2025-13827HIGH8.8
  • PHPPHP
  • mautic/grapes-js-builder-bundle
NoYesDec 02, 2025
CVE-2025-66468HIGH7.6
  • PHPPHP
  • aimeos/ai-cms-grapesjs
NoYesDec 02, 2025
CVE-2025-65657MEDIUM6.5
  • PHPPHP
  • feehi/cms
NoNoDec 02, 2025
CVE-2025-65186MEDIUM6.1
  • PHPPHP
  • getgrav/grav
NoNoDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management