CVE-2025-49137
PHP vulnerability analysis and mitigation

Overview

CVE-2025-49137 affects HAX CMS PHP, a content management system that allows users to manage their microsite universe with a PHP backend. The vulnerability was discovered and disclosed on June 9, 2025, affecting versions prior to 11.0.0. The issue stems from insufficient sanitization of user input in the 'saveNode' and 'saveManifest' endpoints, which allows for the execution of arbitrary JavaScript code (GitHub Advisory, NVD).

Technical details

The vulnerability exists in the application's handling of user input through the 'saveNode' and 'saveManifest' endpoints. These endpoints store user input in the JSON schema for the site, which is then rendered in the generated HAX site. While the application blocks direct use of script tags, it fails to prevent the execution of JavaScript through other HTML tags. The vulnerability has been assigned a CVSS v3.1 base score of 8.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N, indicating network accessibility with low attack complexity (GitHub Advisory).

Impact

An authenticated attacker can exploit this vulnerability to store malicious payloads in a HAX site which execute arbitrary JavaScript when users visit the site. This can lead to the theft of user session cookies and other sensitive data. The vulnerability affects both the site editor and settings editor functionalities (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in version 11.0.0 of HAX CMS PHP. Users are advised to upgrade to this version to protect against potential attacks (NVD, GitHub Advisory).

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