Symfony's XmlUtils::parse() method in the Config component improperly enables DTD validation by setting validateOnParse to true before loading XML. This causes libxml to process external entities, including file:// URIs, before rejecting documents with doctypes, allowing local file read via XML External Entity (XXE). The vulnerability affects applications that pass untrusted XML directly to this method. The issue was fixed by removing the validateOnParse flag in Symfony versions 5.4.56, 6.4.50, 7.4.23, and 8.1.11.
Symfony's Security::login() and UserAuthenticatorInterface::authenticateUser() methods allow programmatic user logins but did not invoke the checkPostAuth() method of user checkers, which performs post-authentication user validation. This omission means that users rejected by checkPostAuth(), such as expired accounts, could still be logged in programmatically. The issue affects applications using custom user checkers that reject users in checkPostAuth() and perform programmatic logins. The problem is fixed by dispatching the security.authentication.success event in authenticateUser(), triggering checkPostAuth() and allowing it to reject users appropriately.
Symfony's HtmlSanitizer component did not sanitize the 'srcset' and 'imagesrcset' attributes, allowing attacker-controlled responsive-image URL lists to bypass media scheme and host allow-lists. This issue arises because these attributes were allowed but lacked a registered URL sanitizer, causing their values to be preserved verbatim. The vulnerability affects configurations that rely on allowMediaHosts or allowMediaSchemes to restrict media URLs. The issue is fixed in versions 6.4.50, 7.4.23, and 8.1.11 by properly parsing and sanitizing each URL candidate in these attributes. The severity is rated medium with a CVSS score of 5.4.
Symfony's HtmlSanitizer component has a vulnerability in its URL sanitization logic that allows bypassing host allow-lists via specially crafted URLs without a well-formed authority. This occurs because the sanitizer uses RFC 3986 parsing which treats URLs like 'http:evil.example' as having no host, skipping host checks, while browsers interpret them differently, allowing navigation to untrusted hosts. The issue affects configurations that enable both host allow-lists and relative links. The vulnerability is rated medium severity with a CVSS score of 4.3 and has been fixed in Symfony versions 6.4.50, 7.4.23, and 8.1.11.
The Symfony HtmlSanitizer component's MetaRefreshAttributeSanitizer did not fully sanitize meta refresh URLs due to a regex that matched only a narrow subset of browser-supported refresh grammar. This allowed certain refresh directives with URLs to bypass URL sanitization and host allow-list checks, potentially enabling navigation to untrusted or malicious URLs. The issue affects configurations allowing meta elements with http-equiv and content attributes, including the allowStaticElements() preset. A patch was released that aligns parsing with the WHATWG declarative refresh specification and drops unsafe attributes. The fix is available in Symfony versions 6.4.50, 7.4.23, and 8.1.11 and later.
Symfony's X509Authenticator and X509AuthenticationListener components had a vulnerability in how they parsed the Subject DN (Distinguished Name) from client certificates. The parsing did not correctly handle escaped commas and slashes inside DN attribute values, allowing an attacker with a certificate from a trusted CA to spoof arbitrary user identities by injecting crafted values into the CN field. This could lead to authentication as any user, including privileged ones. The issue affects multiple Symfony versions prior to fixed releases. The vulnerability is addressed by properly splitting and unescaping DN components before extracting attributes.
Symfony's IpValidator component incorrectly classifies certain IPv4-mapped and IPv4-compatible IPv6 addresses when using public/private/reserved IP filtering modes. This misclassification allows these addresses to bypass intended SSRF (Server-Side Request Forgery) protections relying on these filters. The issue arises because the validator relies solely on PHP's FILTER_FLAG_NO_PRIV_RANGE and FILTER_FLAG_NO_RES_RANGE flags, which do not cover all relevant IP ranges and have inconsistent behavior across PHP versions. The vulnerability affects applications that opt-in to use these filtered modes as security controls. Symfony has released patches that add stricter subnet checks to address this issue.
Symfony's ScopingHttpClient improperly applies credentials from its default scope to network-path reference URLs that resolve outside the base URI's origin. This causes sensitive authentication headers to be sent to unintended external hosts when URLs starting with '//' are used. The issue affects multiple Symfony versions and has been fixed in versions 5.4.56, 6.4.50, 7.4.23, and 8.1.11.
CVE-2026-122053 is a vulnerability in Symfony's ObjectNormalizer component where property-path traversal using dotted keys bypasses the #[Ignore] attribute on nested objects. This allows attackers to write to nested object properties that should be ignored during denormalization, potentially modifying sensitive fields. The issue affects applications binding untrusted input to objects, including those using #[MapRequestPayload] or #[MapQueryString]. The vulnerability is fixed by restricting property-path acceptance to only those declared explicitly in class metadata.
A vulnerability in Symfony's HttpKernel component allows untrusted forwarded headers from a client to influence the host, scheme, and port of URLs generated after rendering inline fragments. This occurs because the sub-request handling temporarily trusts 127.0.0.1 as a proxy, causing the router to rebuild its context using potentially untrusted headers from the main request. The issue affects applications accessed over HTTP from 127.0.0.1 without explicitly configuring trusted proxies, such as those behind local reverse proxies or TLS terminators. A fix is available in Symfony versions 5.4.56, 6.4.50, 7.4.23, and 8.1.11 and later.
Symfony's NoPrivateNetworkHttpClient did not consistently pin the checked IP address for cached hosts, allowing DNS rebinding attacks to enumerate internal hosts and ports. The client resolved the host only once and cached the IP, but subsequent requests resolved the host again without enforcing the cached IP, enabling attackers controlling DNS to cause connections to private IPs after an initial public IP lookup. This flaw was fixed by ensuring the IP is passed with the resolve option on every request, including cached hosts.
A vulnerability in Symfony's Serializer component allows an attacker to craft requests that cause the application to treat arbitrary server files as uploaded files. This occurs because the deserialization process improperly instantiates UploadedFile objects from untrusted request data, enabling access to any file readable by PHP and potentially moving or exposing sensitive files. The issue affects multiple maintained Symfony branches and has been fixed in versions 5.4.56, 6.4.50, 7.4.23, and 8.1.11.
A vulnerability in Symfony's routing component allows host placeholders in compiled URL matchers to match the start of the path, bypassing path-based access controls such as access_control rules and firewall patterns. This occurs because the compiled matcher concatenates host and path strings and matches them together, allowing host placeholders to consume part of the path. The issue affects applications with routes that have host placeholders protected by path-based rules, potentially allowing unauthorized access to protected routes. The vulnerability is fixed in Symfony versions 5.4.56, 6.4.50, 7.4.23, and 8.1.11 by changing the compiled regexp to separate host and path matching properly. Applications must clear their route cache after upgrading to apply the fix.
NukeViet CMS versions 4.5.00 through 4.6.01 contain a reflected Cross-Site Scripting (XSS) vulnerability in the news module's search function. The flaw arises from double URL decoding of the 'q' parameter after initial sanitization, allowing crafted input to bypass filters and execute arbitrary JavaScript in the context of the site. This affects both default and mobile themes. The vulnerability is fixed in version 4.6.02.
NukeViet CMS versions 4.5.08 through before 4.5.12 and 4.6.00 are affected by a stored cross-site scripting (XSS) vulnerability in the HTML sanitizer used for iframe srcdoc attributes. The vulnerability allows attackers to inject internal marker sequences that bypass tag and attribute filtering, resulting in execution of arbitrary JavaScript in the context of the affected site. This can lead to session hijacking and unauthorized actions, especially since iframes without sandbox attributes share the same origin as the parent page. The issue is fixed in version 4.5.12 and later.
NukeViet CMS versions prior to 4.5.12 and from 4.6.0 are affected by a Remote Code Execution (RCE) vulnerability in the file upload pipeline. The vulnerability arises from insufficient validation of uploaded image files, allowing attackers to upload polyglot files with embedded PHP code using short PHP tags and double extensions. On Apache servers with mod_php and short_open_tag enabled, these files can be executed as PHP, leading to full site compromise. The issue is fixed in version 4.5.12 with improved upload validation and filename sanitization.
NukeViet CMS versions prior to 4.5.12 and from 4.6.00 are affected by a stored cross-site scripting (XSS) vulnerability via SVG uploads. The vulnerability arises because the SVG sanitizer fails to expand internal DTD entities, allowing an attacker to embed a script inside an internal entity that is stored verbatim and executed when the SVG is viewed in a browser. This can be exploited by unauthenticated users through public upload features or by module admins via the admin file manager, enabling script execution with the victim's session context. The issue is fixed in version 4.5.12.
The tastyigniter/core framework contains a latent Server-Side Request Forgery (SSRF) vulnerability in the Media::addFromUrl() method, which performs an outbound HTTP GET request to a caller-supplied URL without any validation. Currently, this method is not called by any feature in the codebase, so there is no active attack vector. However, if future features or third-party extensions invoke this method to fetch external media, it could allow attackers to make unauthorized requests to internal or cloud metadata services.
TastyIgniter versions prior to 4.2.0 use a non-constant-time comparison for password reset code verification, relying on PHP's '!=' operator. This creates a theoretical timing side-channel vulnerability. However, practical exploitation is hindered by strict rate limiting on the reset endpoint, making token recovery infeasible in real-world conditions. The issue is fixed in version 4.2.0.
TastyIgniter versions prior to 4.2.0 and 4.3.0 have a timing side-channel vulnerability in the password-reset request endpoint. Although the response body is identical whether an account exists or not, the system performs additional work (database write and sending an email) only when the account exists. This difference in processing time can be measured when using a real SMTP backend, allowing attackers to enumerate valid user accounts. This vulnerability can aid attackers in gathering valid email addresses for phishing or credential-stuffing attacks but does not directly allow account compromise.