{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-66492 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-66492 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-66492 is a high-severity cross-site scripting vulnerability in MasaCMS, published on 12 Dec 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-66492 and fix it if it is affected.\n\nWhat it is: CVE-2025-66492 is a high-severity cross-site scripting vulnerability in MasaCMS, published on 12 Dec 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-66492 in the wild and no public exploit code.\n\nAffected product: MasaCMS. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-66492/ (Markdown: https://insights.sbomify.com/CVE-2025-66492/index.md)","id":"CVE-2025-66492","markdown":"https://insights.sbomify.com/CVE-2025-66492/index.md","name":"CVE-2025-66492","record":{"aliases":["GHSA-249c-vqwv-43vc"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["account_takeover","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Enterprise Content Management","requires_auth":"none","summary":"Attacker can execute arbitrary scripts via unsanitized URL parameter, leading to session hijacking and data theft in Masa CMS.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"masacms","vendor":"masacms"}],"cvss":{"score":8.2,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Masa CMS is an open source Enterprise Content Management platform. Versions 7.2.8 and below, 7.3.1 through 7.3.13, 7.4.0-alpha.1 through 7.4.8 and 7.5.0 through 7.5.1 are vulnerable to XSS when an unsanitized value of the ajax URL query parameter is directly included within the \u003chead\u003e section of the HTML page. An attacker can execute arbitrary scripts in the context of the user's session, potentially leading to Session Hijacking, Data Theft, Defacement and Malware Distribution. This issue is fixed in versions 7.5.2, 7.4.9, 7.3.14, and 7.2.9. To work around this issue, configure a Web Application Firewall (WAF) rule (e.g., ModSecurity) to block requests containing common XSS payload characters in the ajax query parameter. Alternatively, implement server-side sanitization using middleware to strip or escape dangerous characters from the ajax parameter before it reaches the vulnerable rendering logic.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Masa CMS vulnerable to Cross-Site Scripting (XSS) through URL Parameter","id":"CVE-2025-66492","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2025"},"n_packages":0,"n_references":2,"next":{"headline":"Foxit PDF Reader AcroForm Use-After-Free Remote Code Execution Vulnerability","id":"CVE-2025-66493"},"packages":[],"prev":{"headline":"Traefik has Inverted TLS Verification Logic in its ingress-nginx Provider","id":"CVE-2025-66491"},"products":["MasaCMS"],"published":"2025-12-12","related":[{"cvss_score":9.8,"headline":"Masa CMS Vulnerable to Pre-Auth RCE via JSON API","id":"CVE-2024-32641","kev_date_added":null,"published":"2025-12-03"},{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2022-47002","kev_date_added":null,"published":"2023-02-01"},{"cvss_score":8.8,"headline":"Host header poisoning allows account takeover via password reset email","id":"CVE-2024-32642","kev_date_added":null,"published":"2025-12-03"},{"cvss_score":7.5,"headline":"Masa CMS vulnerable to authentication bypass with /tag/","id":"CVE-2024-32643","kev_date_added":null,"published":"2025-12-03"},{"cvss_score":7.5,"headline":"Path traversal in n/a","id":"CVE-2021-42183","kev_date_added":null,"published":"2022-05-05"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-12-18","vendors":["MasaCMS"]},"summary":"Attacker can execute arbitrary scripts via unsanitized URL parameter, leading to session hijacking and data theft in Masa CMS.","url":"https://insights.sbomify.com/CVE-2025-66492/"}