CVE-2025-49704: Microsoft SharePoint Code Injection Vulnerability

Advisory generated from the CVE record, CISA, Exploit Observer and VEDAS: what it is, whether it is exploited, who is affected, and how to fix and detect it.

Generated by VEDAS. Scores as of 2026-11-01 19:19 UTC. Rebuilt every few hours from cve-scores, CISA KEV and vedas-signatures. How this works and its limits.

What it is

Improper control of generation of code (‘code injection’) in Microsoft Office SharePoint allows an authorized attacker to execute code over a network.

Description quoted from the CVE record (assigned by microsoft, published 2025-07-08).

Weakness: CWE-94: Improper Control of Generation of Code (‘Code Injection’)

How it can be exploited

Exploitable over the network with low attack complexity needing low privileges and no user interaction. Impact: confidentiality high, integrity high, availability high. CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C

CISA assessment (SSVC): CISA assesses exploitation as active. Automatable: no. Technical impact: total.

On CISA KEV since
2025-07-22
US federal deadline
2025-07-23
Ransomware use
Yes

Public exploit evidence (Exploit Observer)

Also known as: BDU:2025-08436, CNNVD-202507-1130, EUVD-2025-20554, GHSA-mh5q-j7vq-g5g7, ZDI-25-581

VEDAS cluster: VEDAS:BERRYBEETLE

Exploit Observer links 5 pieces of public exploit code or detection modules that name this CVE or one of its aliases.

Exploit code and modules (5)

Code that names this CVE. A repository can be a working exploit, a scanner, a fake or malware; read it before running anything.

Research and write-ups (1)

Vulnerability databases and vendor advisories (8)

Catalogue entries, not exploit evidence.

172 more references returned by Exploit Observer did not name this CVE or an alias, so they are left out.

VEDAS data as of 2026-11-01T17:12 UTC; fetched 2026-11-02.

Live scores

EPSS
1.000
very likely to be attacked soon
VEDAS
0.984
strong exploit evidence
On CISA KEV
Yes, since 2025-07-22
Detection rule
Nuclei · Suricata
EPSS (chance of attack)
10No cve-scores data 2026-02-22 to 2026-08-08no data0.1Added to CISA KEV 2025-07-22CVE-2025-49704 EPSS over time2025-072026-11-01
VEDAS (exploit evidence)
10No cve-scores data 2026-02-22 to 2026-08-08no data0.9Added to CISA KEV 2025-07-22CVE-2025-49704 VEDAS over time2025-072026-11-01

Thin horizontal line: the “likely” (EPSS 0.10) or “strong” (VEDAS 0.90) threshold. Shaded “no data” areas are periods when cve-scores did not publish. The vertical line is the day CISA added it to its exploited list.

Who is affected

ProductAffectedNot affected
Microsoft Microsoft SharePoint Enterprise Server 2016from 16.0.0 before 16.0.5508.1000Not stated
Microsoft Microsoft SharePoint Server 2019from 16.0.0 before 16.0.10417.20027Not stated

Version ranges exactly as the CVE record states them. “Before X” means X is the first fixed version.

Exploit Observer also maps it to: microsoft sharepoint_server, microsoft_corp microsoft_sharepoint_enterprise_server_2016, microsoft_corp microsoft_sharepoint_server_2019.

How to fix it

Fixed versions stated in the CVE record: 16.0.5508.1000, 16.0.10417.20027.

CISA required action: Disconnect public-facing versions of SharePoint Server that have reached their end-of-life (EOL) or end-of-service (EOS) to include SharePoint Server 2013 and earlier versions. For supported versions, please follow the mitigations according to CISA (URL listed below in Notes) and vendor instructions (URL listed below in Notes). Adhere to the applicable BOD 22-01 guidance for cloud services or discontinue use of the product if mitigations are not available.

Vendor guidance:

How to detect it

Nuclei template (active check)

Microsoft Office SharePoint - Memory Corruption

Improper control of generation of code (‘code injection’) in Microsoft Office SharePoint allows an authorized attacker to execute code over a network.

Name and description quoted from the template, written by VEDAS.

The template sends 1 request (GET /index.php?x=%22.phpinfo().%22); it decides using status, word matchers. Severity in the template: high. Marked as not yet verified against a live vulnerable target.

Run it against a host you own or are authorised to test:

bash
nuclei -u https://your-host -t CVE-2025-49704.yaml
Show the template (36 lines)
yaml
id: CVE-2025-49704

info:
  name: "Microsoft Office SharePoint - Memory Corruption"
  author: vedas-arpsyndicate
  severity: high
  description: |
    Improper control of generation of code ('code injection') in Microsoft Office SharePoint allows an authorized
    attacker to execute code over a network.
  reference:
    - https://www.exploit.observer/?keyword=CVE-2025-49704&match=exact
    - https://subdomain.center/?engine=ammonites&keyword=sharepoint&match=exact
  classification:
    cvss-score: 8.8
    cve-id: CVE-2025-49704
    cwe-id: CWE-119
  metadata:
    verified: false
    max-request: 1
  tags: cve,cve2025,sharepoint,phpinfo

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php?x=%22.phpinfo().%22"
    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>phpinfo()"
          - "PHP Version"
        condition: or
      - type: status
        status:
          - 200

CVE-2025-49704.yaml on GitHub

Suricata rules (network detection)

1 rule that alert on traffic matching this exploit: VEDAS CVE-2025-49704 Microsoft Office SharePoint - Memory Corruption. Add them to your Suricata rule set and reload.

Show the rules
suricata
alert http $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"VEDAS CVE-2025-49704 Microsoft Office SharePoint - Memory Corruption"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"index.php"; nocase; fast_pattern; content:"phpinfo"; nocase; classtype:web-application-attack; reference:cve,CVE-2025-49704; reference:url,https://www.exploit.observer/?keyword=CVE-2025-49704&match=exact; reference:url,https://subdomain.center/?engine=ammonites&keyword=sharepoint&match=exact; sid:1003800; rev:2;)

CVE-2025-49704.rules on GitHub

Advisories on this CVE

References

Vendor advisories and patches

Government sources

Other databases

Where this comes from

This advisory is generated automatically by VEDAS from: CVE.org record, CISA KEV, cve-scores (EPSS and VEDAS), Exploit Observer, vedas-signatures. Text in quotes is reproduced from the source; everything else is a fixed template filled with source fields. Nothing here is written by a language model. Check the vendor advisory before acting, and read how VEDAS and Exploit Observer work, and their limits.