p PatchFirst

PatchFirst · Latest vulnerabilities

PHP stack vulnerabilities · Page 145

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. GHSA-2jx7-xg83-j2m7

    High · CVSS 7.5Fix available

    Zendframework Denial of Service vector via XEE injection

    `Zend_Dom`, `Zend_Feed`, `Zend_Soap`, and `Zend_XmlRpc` are vulnerable to XML Entity Expansion (XEE) vectors, leading to Denial of Service vectors. XEE attacks occur when the XML DOCTYPE declaration includes XML entity definitions that contain either recursive or circular references; this leads to CPU and memory consumption, making Denial of Service exploits trivial to implement.

    • Update to 1.11.13
    Published Updated
  2. GHSA-gwpm-pm6x-h7rj

    Medium · CVSS 6.1Fix available

    ZendFramework Cross-site Scripting vector in `Zend_Filter_StripTags`

    `Zend_Filter_StripTags` is a filtering class analogous to PHP's `strip_tags()` function. In addition to stripping HTML tags and selectively keeping those provided in a whitelist, it also provides the ability to whitelist specific attributes to retain per whitelisted tag. The reporter discovered that attributes that contained whitespace, and in paricular, line breaks, surrounding the attribute assignment operator would not be stripped, regardless of whether or not they were whitelisted. As examples of input affected: ``` <!-- newlines before and/or after assignment: --> <a href="http://framework.zend.com/issues" onclick = "alert('Broken'); re

    • Update to 1.7.6
    Published Updated
  3. GHSA-96c6-m98x-hxjx

    Medium · CVSS 6.5Fix available

    Zend-Session session validation vulnerability

    `Zend\Session` session validators do not work as expected if set prior to the start of a session. For instance, the following test case fails (where $this->manager is an instance of `Zend\Session\SessionManager`): ``` $this ->manager ->getValidatorChain() ->attach('session.validate', array(new RemoteAddr(), 'isValid')); $this->manager->start(); $this->assertSame( array( 'Zend\Session\Validator\RemoteAddr' =3D> '', ), $_SESSION['__ZF']['_VALID'] ); ``` The implication is that subsequent calls to `Zend\Session\SessionManager#start()` (in later requests, assuming a session was created) will not have any validat

    • Update to 2.2.9
    • Update to 2.3.4
    Published Updated
  4. GHSA-g52p-86j5-xr8q

    Medium · CVSS 6.1Fix available

    ZendFramework Potential Cross-site Scripting in Development Environment Error View Script

    The default error handling view script generated using `Zend_Tool` failed to escape request parameters when run in the "development" configuration environment, providing a potential XSS attack vector. `Zend_Tool_Project_Context_Zf_ViewScriptFile` was patched such that the view script template now calls the `escape()` method on dumped request variables. Zend Framework 1.11.4 includes a patch that adds escaping to the generated error/error.phtml view script, ensuring that request variables are escaped appropriately for the browser. Do note, however, that this will not update any previously generated code. You will still need to follow the nex

    • Update to 1.11.4
    Published Updated
  5. GHSA-cxf7-m5g2-v594

    High · CVSS 8.8Fix available

    Zend-Mail remote code execution in zend-mail via Sendmail adapter

    When using the zend-mail component to send email via the `Zend\Mail\Transport\Sendmail` transport, a malicious user may be able to inject arbitrary parameters to the system sendmail program. The attack is performed by providing additional quote characters within an address; when unsanitized, they can be interpreted as additional command line arguments, leading to the vulnerability. The following example demonstrates injecting additional parameters to the sendmail binary via the From address: ``` use Zend\Mail; $mail = new Mail\Message(); $mail->setBody('This is the text of the email.'); // inject additional parameters to sendmail command l

    • Update to 2.4.11
    • Update to 2.7.2
    Published Updated
  6. GHSA-mhpx-3rv8-wrjm

    Critical · CVSS 9.8Fix available

    ZendFramework potential XML eXternal Entity injection vectors

    Numerous components utilizing PHP's `DOMDocument`, `SimpleXML`, and `xml_parse` functionality are vulnerable to two types of attacks: - XML eXternal Entity (XXE) Injection attacks. The above mentioned extensions are insecure by default, allowing external entities to be specified by adding a specific DOCTYPE element to XML documents and strings. By exploiting this vulnerability an application may be coerced to open arbitrary files and/or TCP connections. - XML Entity Expansion (XEE) vectors, leading to Denial of Service vectors. XEE attacks occur when the XML DOCTYPE declaration includes XML entity definitions that contain either recursive or

    • Update to 1.12.4
    Published Updated
  7. GHSA-4j9x-g4x8-vcmf

    High · CVSS 7.5Fix available

    ZendFramework potential XML eXternal Entity injection vectors

    `Zend_Feed_Rss` and `Zend_Feed_Atom` were found to contain potential XML eXternal Entity (XXE) vectors due to insecure usage of PHP's DOM extension. External entities could be specified by adding a specific DOCTYPE element to feeds; exploiting this vulnerability could coerce opening arbitrary files and/or TCP connections. A similar issue was fixed for 1.11.13 and 1.12.0, in the `Zend_Feed::import()` factory method; however, the reporter of the issue discovered that the individual classes contained similar functionality in their constructors which remained vulnerable.

    • Update to 1.11.15
    • Update to 1.12.1
    Published Updated
  8. GHSA-hg35-vqp3-fv39

    Medium · CVSS 6.1Fix available

    ZendFramework potential Cross-site Scripting vectors due to inconsistent encodings

    A number of classes, primarily within the `Zend_Form`, `Zend_Filter`, `Zend_Form`, `Zend_Log` and `Zend_View components`, contained character encoding inconsistencies whereby calls to the `htmlspecialchars()` and htmlentities() functions used undefined or hard coded charset parameters. In many of these cases developers were unable to set a character encoding of their choice. These inconsistencies could, in specific circumstances, allow certain multibyte representations of special HTML characters pass through unescaped leaving applications potentially vulnerable to cross-site scripting (XSS) exploits. Such exploits would only be possible if a

    • Update to 1.9.7
    Published Updated
  9. GHSA-qf36-fx9f-232x

    Critical · CVSS 9.8Fix available

    ZendFramework potential SQL Injection Vector When Using PDO_MySql

    Developers using non-ASCII-compatible encodings in conjunction with the MySQL PDO driver of PHP may be vulnerable to SQL injection attacks. Developers using ASCII-compatible encodings like UTF8 or latin1 are not affected by this PHP issue, which is described in more detail here: http://bugs.php.net/bug.php?id=47802 The PHP Group included a feature in PHP 5.3.6+ that allows any character set information to be passed as part of the DSN in PDO to allow both the database as well as the C-level driver to be aware of which charset is in use which is of special importance when PDO's quoting mechanisms are utilized, which Zend Framework also relies

    • Update to 1.10.9
    • Update to 1.11.6
    Published Updated
  10. GHSA-j543-vg33-g6vj

    Medium · CVSS 6.1Fix available

    ZendFramework potential Cross-site Scripting vector in `Zend_Dojo_View_Helper_Editor`

    `Zend_Dojo_View_Helper_Editor` was incorrectly decorating a TEXTAREA instead of a DIV. The Dojo team has reported that this has security implications as the rich text editor they use is unable to escape content for a TEXTAREA.

    • Update to 1.7.9
    • Update to 1.8.5
    • Update to 1.9.7
    Published Updated
  11. GHSA-f4fj-q6m4-cc52

    Critical · CVSS 9.8Fix available

    ZendFramework vulnerable to XXE/XEE attacks

    Numerous components utilizing PHP's DOMDocument, SimpleXML, and xml_parse functionality are vulnerable to two types of attacks: - XML eXternal Entity (XXE) Injection attacks. The above mentioned extensions are insecure by default, allowing external entities to be specified by adding a specific DOCTYPE element to XML documents and strings. By exploiting this vulnerability an application may be coerced to open arbitrary files and/or TCP connections. - XML Entity Expansion (XEE) vectors, leading to Denial of Service vectors. XEE attacks occur when the XML DOCTYPE declaration includes XML entity definitions that contain either recursive or circu

    • Update to 2.1.6
    • Update to 2.2.6
    Published Updated
  12. GHSA-hx3m-959f-v849

    High · CVSS 7.5Fix available

    ZendFramework local file inclusion vector in `Zend_View::setScriptPath()` and `render()`

    Zend_View is a component that utilizes PHP as a templating language. To utilize it, you specify "script paths" that contain view scripts, and then `render()` view scripts by specifying subdirectories within those script paths; the output is then returned as a string value which may be cached or directly output. `Zend_View::setScriptPath()` in versions up to and including 1.7.4 include a potential Local File Inclusion vulnerability. If untrusted input is used to specify the script path and/or view script itself, a malicious attacker could potentially specify a system directory and thus render a system file. As an example, if the user-supplie

    • Update to 1.7.5
    Published Updated
  13. GHSA-m7hr-j867-3f34

    Medium · CVSS 6.1Fix available

    ZendFramework has potential Cross-site Scripting vector in multiple view helpers

    Many Zend Framework 2 view helpers were using the `escapeHtml()` view helper in order to escape HTML attributes, instead of the more appropriate `escapeHtmlAttr()`. In situations where user data and/or JavaScript is used to seed attributes, this can lead to potential cross site scripting (XSS) attack vectors. Vulnerable view helpers include: - All `Zend\Form` view helpers. - Most `Zend\Navigation` (aka `Zend\View\Helper\Navigation\*`) view helpers. - All "HTML Element" view helpers: `htmlFlash()`, `htmlPage()`, `htmlQuickTime()`. - `Zend\View\Helper\Gravatar`

    • Update to 2.2.7
    • Update to 2.3.1
    Published Updated
  14. GHSA-fh7r-58q4-6387

    Medium · CVSS 4.7Fix available

    Zendframework URL Rewrite vulnerability

    zend-diactoros (and, by extension, Expressive), zend-http (and, by extension, Zend Framework MVC projects), and zend-feed (specifically, its PubSubHubbub sub-component) each contain a potential URL rewrite exploit. In each case, marshaling a request URI includes logic that introspects HTTP request headers that are specific to a given server-side URL rewrite mechanism. When these headers are present on systems not running the specific URL rewriting mechanism, the logic would still trigger, allowing a malicious client or proxy to emulate the headers to request arbitrary content.

    • Update to 2.5.0
    Published Updated
  15. GHSA-5gmf-3c43-q73v

    Medium · CVSS 6.1Fix available

    ZendFramework vulnerable to Cross-site Scripting

    `Zend\Debug`, `Zend\Feed\PubSubHubbub`, `Zend\Log\Formatter\Xml`, `Zend\Tag\Cloud\Decorator`, `Zend\Uri`, `Zend\View\Helper\HeadStyle, Zend\View\Helper\Navigation\Sitemap`, and `Zend\View\Helper\Placeholder\Container\AbstractStandalone` were not using `Zend\Escaper` when escaping HTML, HTML attributes, and/or URLs. While most were performing some escaping, because they were not using context-appropriate escaping mechanisms, they could potentially be exploited to perform Cross Site Scripting (XSS) attacks.

    • Update to 2.0.1
    Published Updated
  16. GHSA-gff2-p6vm-3p8g

    Medium · CVSS 6.5Fix available

    ZendFramework potential remote code execution in zend-mail via Sendmail adapter

    When using the zend-mail component to send email via the `Zend\Mail\Transport\Sendmail transport`, a malicious user may be able to inject arbitrary parameters to the system sendmail program. The attack is performed by providing additional quote characters within an address; when unsanitized, they can be interpreted as additional command line arguments, leading to the vulnerability.

    • Update to 2.4.11
    Published Updated
  17. GHSA-mg7h-9qfx-4r83

    Medium · CVSS 5.9Fix available

    ZendFramework Potential Proxy Injection Vulnerabilities

    `Zend\Session\Validator\RemoteAddr` and `Zend\View\Helper\ServerUrl` were found to be improperly parsing HTTP headers for proxy information, which could potentially allow an attacker to spoof a proxied IP or host name. In `Zend\Session\Validator\RemoteAddr`, if the client is behind a proxy server, the detection of the proxy URL was incorrect, and could lead to invalid results on subsequent lookups. In `Zend\View\Helper\ServerUrl`, if the server lives behind a proxy, the helper would always generate a URL based on the proxy host, regardless of whether or not this was desired; additionally, it did not take into account the proxy port or proto

    • Update to 2.0.5
    Published Updated
  18. GHSA-2fhr-8r8r-qp56

    Medium · CVSS 5.3Fix available

    ZendFramework Information Disclosure and Insufficient Entropy vulnerability

    In Zend Framework, `Zend_Captcha_Word` (v1) and `Zend\Captcha\Word` (v2) generate a "word" for a CAPTCHA challenge by selecting a sequence of random letters from a character set. Prior to this advisory, the selection was performed using PHP's `internal array_rand()` function. This function does not generate sufficient entropy due to its usage of `rand()` instead of more cryptographically secure methods such as `openssl_pseudo_random_bytes()`. This could potentially lead to information disclosure should an attacker be able to brute force the random number generation.

    • Update to 2.4.9
    Published Updated
  19. GHSA-x2f4-8wxf-w3vf

    High · CVSS 8.8Fix available

    ZendFramework SQL injection due to execution of platform-specific SQL containing interpolations

    The `Zend\Db` component in Zend Framework 2 provides platform abstraction, which is used in particular for SQL abstraction. Two methods defined in the platform interface, `quoteValue()` and `quoteValueList()`, allow users to manually quote values for creating SQL statements; these are in turn consumed by aspects of the SQL abstraction platform, including `Zend\Db\Sql\Sql::getSqlStringForSqlObject()`, and the `getSqlString()` method provided in a number of classes in the Zend\Db\Sql namespace. While these methods are primarily intended for debugging and logging purposes, developers can use them to produce SQL that is then passed to the driver

    • Update to 2.0.8
    • Update to 2.1.4
    Published Updated
  20. GHSA-qc7w-4567-84wv

    Critical · CVSS 9.8Fix available

    Zendframework vulnerable to XXE/XEE attacks

    Numerous components utilizing PHP's DOMDocument, SimpleXML, and xml_parse functionality are vulnerable to two types of attacks: - XML eXternal Entity (XXE) Injection attacks. The above mentioned extensions are insecure by default, allowing external entities to be specified by adding a specific DOCTYPE element to XML documents and strings. By exploiting this vulnerability an application may be coerced to open arbitrary files and/or TCP connections. - XML Entity Expansion (XEE) vectors, leading to Denial of Service vectors. XEE attacks occur when the XML DOCTYPE declaration includes XML entity definitions that contain either recursive or circu

    • Update to 2.1.6
    • Update to 2.2.6
    Published Updated

Check your server

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

Check your server →