p PatchFirst

PatchFirst · Latest vulnerabilities

PHP stack vulnerabilities · Page 135

Vulnerabilities published for PHP in the last 30 days: 222. Listed in the KEV catalogue: 2.

Filter vulnerabilities
PHP

Early warnings

Fresh vulnerability reports from vendor announcements and security news. These warnings do not change the security rating.

  1. php

    No fix published

    PHP: remote code execution

    According to OpenNet, PHP has a remote code execution vulnerability (CVE-2026-115560). The exact affected versions are unspecified. The report does not name a fixed version.

    What to do now: Check whether a PHP update with the fix is available and install it.

    CVE-2026-115560

Vulnerabilities: 7239

  1. CVE-2024-45291

    Medium · CVSS 6.3EPSS 0.86%Fix available

    Path traversal and Server-Side Request Forgery in HTML writer when embedding images is enabled in PHPSpreadsheet

    PHPSpreadsheet is a pure PHP library for reading and writing spreadsheet files. It's possible for an attacker to construct an XLSX file that links images from arbitrary paths. When embedding images has been enabled in HTML writer with `$writer->setEmbedImages(true);` those files will be included in the output as `data:` URLs, regardless of the file's type. Also URLs can be used for embedding, resulting in a Server-Side Request Forgery vulnerability. When embedding images has been enabled, an attacker can read arbitrary files on the server and perform arbitrary HTTP GET requests. Note that any PHP protocol wrappers can be used, meaning that if

    • Update to 1.29.2
    • Update to 2.1.1
    • Update to 2.3.0
    Published Updated
  2. CVE-2024-45292

    Medium · CVSS 5.4EPSS 0.34%Fix available

    PhpSpreadsheet HTML writer is vulnerable to Cross-Site Scripting via JavaScript hyperlinks

    PHPSpreadsheet is a pure PHP library for reading and writing spreadsheet files. `\PhpOffice\PhpSpreadsheet\Writer\Html` does not sanitize "javascript:" URLs from hyperlink `href` attributes, resulting in a Cross-Site Scripting vulnerability. This issue has been addressed in release versions 1.29.2, 2.1.1, and 2.3.0. All users are advised to upgrade. There are no known workarounds for this vulnerability.

    • Update to 1.29.2
    • Update to 2.1.1
    • Update to 2.3.0
    Published Updated
  3. CVE-2024-45293

    High · CVSS 7.5EPSS 2.78%Public exploitFix available

    XML External Entity Reference (XXE) in PHPSpreadsheet's XLSX reader

    PHPSpreadsheet is a pure PHP library for reading and writing spreadsheet files. The security scanner responsible for preventing XXE attacks in the XLSX reader can be bypassed by slightly modifying the XML structure, utilizing white-spaces. On servers that allow users to upload their own Excel (XLSX) sheets, Server files and sensitive information can be disclosed by providing a crafted sheet. The security scan function in src/PhpSpreadsheet/Reader/Security/XmlScanner.php contains a flawed XML encoding check to retrieve the input file's XML encoding in the toUtf8 function. The function searches for the XML encoding through a defined regex which

    • Update to 1.29.1
    • Update to 2.1.1
    • Update to 2.3.0
    Published Updated
  4. CVE-2024-47765

    Medium · CVSS 6.9EPSS 0.39%Fix available

    Minecraft MOTD Parser's HtmlGenerator vulnerable to XSS

    Minecraft MOTD Parser is a PHP library to parse minecraft server motd. The HtmlGenerator class is subject to potential cross-site scripting (XSS) attack through a parsed malformed Minecraft server MOTD. The HtmlGenerator iterates through objects of MotdItem that are contained in an object of MotdItemCollection to generate a HTML string. An attacker can make malicious inputs to the color and text properties of MotdItem to inject own HTML into a web page during web page generation. For example by sending a malicious MOTD from a Minecraft server under their control that was queried and passed to the HtmlGenerator. This XSS vulnerability exists b

    • Update to 1.0.6
    Published Updated
  5. CVE-2024-47913

    Medium · CVSS 5.3EPSS 0.45%Fix available

    CVE-2024-47913

    An issue was discovered in the AbuseFilter extension for MediaWiki before 1.39.9, 1.40.x and 1.41.x before 1.41.3, and 1.42.x before 1.42.2. An API caller can match a filter condition against AbuseFilter logs even if the caller is not authorized to view the log details for the filter.

    • Update to 1.39.9
    • Update to 1.41.3
    • Update to 1.42.2
    • Update to 1:1.39.10-1
    • Update to 1:1.39.10-1~deb12u1
    Published Updated
  6. CVE-2024-47617

    Medium · CVSS 6.1EPSS 0.4%Fix available

    Reflected XSS Vulnerability in Sulu Media Bundle

    Sulu is a PHP content management system. This vulnerability allows an attacker to inject arbitrary HTML/JavaScript code through the media download URL in Sulu CMS. It affects the SuluMediaBundle component. The vulnerability is a Reflected Cross-Site Scripting (XSS) issue, which could potentially allow attackers to steal sensitive information, manipulate the website's content, or perform actions on behalf of the victim. This vulnerability is fixed in 2.6.5 and 2.5.21.

    • Update to 2.5.21
    • Update to 2.6.5
    Published Updated
  7. CVE-2024-47618

    Medium · CVSS 5.1EPSS 0.35%Fix available

    Sulu vulnerable to XSS via uploaded SVG

    Sulu is a PHP content management system. Sulu is vulnerable against XSS whereas a low privileged user with access to the “Media” section can upload an SVG file with a malicious payload. Once uploaded and accessed, the malicious javascript will be executed on the victims’ (other users including admins) browsers. This issue is fixed in 2.6.5.

    • Update to 2.5.21
    • Update to 2.6.5
    Published Updated
  8. CVE-2024-45962

    Medium · CVSS 4.7EPSS 0.51%No fix published

    CVE-2024-45962

    October 3.6.30 allows an authenticated admin account to upload a PDF file containing malicious JavaScript into the target system. If the file is accessed through the website, it could lead to a Cross-Site Scripting (XSS) attack or execute arbitrary code via a crafted JavaScript to the target.

    Published Updated
  9. CVE-2024-47523

    High · CVSS 7.5EPSS 0.63%Fix available

    LibreNMS has Stored Cross-site Scripting vulnerability in "Alert Transports" feature

    LibreNMS is an open-source, PHP/MySQL/SNMP-based network monitoring system. A Stored Cross-Site Scripting (XSS) vulnerability in the "Alert Transports" feature allows authenticated users to inject arbitrary JavaScript through the "Details" section (which contains multiple fields depending on which transport is selected at that moment). This vulnerability can lead to the execution of malicious code in the context of other users' sessions, potentially compromising their accounts and allowing unauthorized actions. This vulnerability is fixed in 24.9.0.

    • Update to 24.9.0
    Published Updated
  10. CVE-2024-47524

    High · CVSS 7.2EPSS 0.54%Fix available

    LibreNMS has Stored Cross-site Scripting vulnerability in "Device Group" Name

    LibreNMS is an open-source, PHP/MySQL/SNMP-based network monitoring system. User with Admin role can create a Device Groups, the application did not properly sanitize the user input in the Device Groups name, when user see the detail of the Device Group, if java script code is inside the name of the Device Groups, its will be trigger. This vulnerability is fixed in 24.9.0.

    • Update to 24.9.0
    Published Updated
  11. CVE-2024-47525

    High · CVSS 7.5EPSS 29.65%Fix available

    Stored XSS ('Cross-site Scripting') in librenms/includes/html/print-alert-rules.php

    LibreNMS is an open-source, PHP/MySQL/SNMP-based network monitoring system. A Stored Cross-Site Scripting (XSS) vulnerability in the "Alert Rules" feature allows authenticated users to inject arbitrary JavaScript through the "Title" field. This vulnerability can lead to the execution of malicious code in the context of other users' sessions, potentially compromising their accounts and allowing unauthorized actions. This vulnerability is fixed in 24.9.0.

    • Update to 24.9.0
    Published Updated
  12. CVE-2024-47526

    Low · CVSS 3.5EPSS 0.48%Fix available

    LibreNMS has a Self-XSS ('Cross-site Scripting') in librenms/includes/html/modal/alert_template.inc.php

    LibreNMS is an open-source, PHP/MySQL/SNMP-based network monitoring system. A Self Cross-Site Scripting (Self-XSS) vulnerability in the "Alert Templates" feature allows users to inject arbitrary JavaScript into the alert template's name. This script executes immediately upon submission but does not persist after a page refresh.

    • Update to 24.9.0
    Published Updated
  13. CVE-2024-47527

    High · CVSS 7.5EPSS 0.53%Fix available

    LibreNMS has a Stored XSS ('Cross-site Scripting') in librenms/includes/html/pages/device-dependencies.inc.php

    LibreNMS is an open-source, PHP/MySQL/SNMP-based network monitoring system. A Stored Cross-Site Scripting (XSS) vulnerability in the "Device Dependencies" feature allows authenticated users to inject arbitrary JavaScript through the device name ("hostname" parameter). This vulnerability can lead to the execution of malicious code in the context of other users' sessions, potentially compromising their accounts and allowing unauthorized actions. This vulnerability is fixed in 24.9.0.

    • Update to 24.9.0
    Published Updated
  14. CVE-2024-47528

    Medium · CVSS 4.6EPSS 0.41%Fix available

    LibreNMS Contains a Stored XSS via File Upload

    LibreNMS is an open-source, PHP/MySQL/SNMP-based network monitoring system. Stored Cross-Site Scripting (XSS) can be achieved by uploading a new Background for a Custom Map. Users with "admin" role can set background for a custom map, this allow the upload of SVG file that can contain XSS payload which will trigger on load. This led to Stored Cross-Site Scripting (XSS). The vulnerability is fixed in 24.9.0.

    • Update to 24.9.0
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →