Skip to content

← Public intelligence

Packagist package

getformwork/formwork

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

7 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. High, CVSS 8.8PackagistPublished

    Formwork Improperly Managed Privileges in User creation

    CVE-2026-27198 · GHSA-34p4-7w83-35g2

    Affected
    • Packagist getformwork/formwork >= 2.0.0, <= 2.3.3
    Fixed in
    2.3.4· Vendor fix available
    Issue
    The application fails to properly enforce role-based authorization during account creation. Although the system validates that the specified role exists, it does not verify whether the current user has sufficient privileges to assign highly privileged roles such as admin. As a result, an authenticated user with the editor role can create a new account with administrative privileges, leading to full administrative access and complete compromise of the CMS. Impact Successful exploitation allows an attacker to: - Gain full administrative control over the CMS. - Access all site data and user information. - Modify system configuration and security settings. - Create, modify, or delete any user account, including legitimate administrators. Patches Formwork 2.3.4 properly assigns roles on user creation.

    Recommended action: Upgrade to 2.3.4 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. Medium, CVSS 6.5PackagistPublished

    Formwork CMS has Stored Cross-Site Scripting Vulnerebility in Blog Tags

    CVE-2025-65956 · GHSA-7j46-f57w-76pj

    Affected
    • Packagist getformwork/formwork < 2.2.0
    Fixed in
    2.2.0· Vendor fix available
    Issue
    Inserting unsanitized data into the blog tag field in Formwork CMS results in stored cross‑site scripting (XSS). Any user with credentials to the Formwork CMS who accesses or edits an affected blog post will have attacker‑controlled script executed in their browser. Because the issue is persistent and impacts privileged administrative workflows, the severity is elevated. Details Formwork CMS fails to properly sanitize data inserted into tags, before saving them and rendering them into the edit blog interface. When a specially crafted tag becomes saved as a tag into the system, it is unable to be removed. Any attempt to remove the tag from the affected post, causes the XSS to trigger once again. Additionally, once the malicious tag is present, managing standard tags becomes impossible. This is due to script execution on attempted modification. This leads to a form of interface lockout where the payload continually reinserts itself due to the stored, unsafe rendering. Impact…

    Recommended action: Upgrade to 2.2.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  3. High, CVSS 8.2PackagistPublished

    Formwork improperly validates input of User role preventing site and panel availability

    GHSA-c85w-x26q-ch87

    Affected
    • Packagist getformwork/formwork >= 2.0.0-beta.1, < 2.0.0-beta.4
    Fixed in
    2.0.0-beta.4· Vendor fix available
    Issue
    Improper validation of select fields allows attackers to craft an input that crashes the system, resulting in a 500 status and making the entire site and administration panel unavailable. This clearly impacts the Availability aspect of the CIA triad (confidentiality, integrity, and availability), although the attack still has certain limitations. Details The attack involves injecting any invalid user role value. Doing this will change the users data in a way that prevents users and then the entire site from loading. Even though the actual data change is minimal, the error is unrecoverable until a valid role parameter is restored by direct modification of the user account file. Proper validation of select fields will prevent extraneous valid from being accepted and making the entire site and administration panel unavailable. Patches - Formwork 2.x (d9f0c1f) adds proper validation to select fields. Impact The condition for this attack is having high privileges or Admin access,…

    Recommended action: Upgrade to 2.0.0-beta.4 (pre-release) or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  4. Medium, CVSS 4.7PackagistPublished

    Formwork has a cross-site scripting (XSS) vulnerability in Site title

    GHSA-vf6x-59hh-332f

    Affected
    • Packagist getformwork/formwork >= 2.0.0-beta.3, <= 2.0.0-beta.3
    Fixed in
    2.0.0-beta.4· Vendor fix available
    Issue
    The site title field at /panel/options/site/allows embedding JS tags, which can be used to attack all members of the system. This is a widespread attack and can cause significant damage if there is a considerable number of users. Impact The attack is widespread, leveraging what XSS can do. This will undoubtedly impact system availability. Patches - Formwork 2.x (aa3e9c6) escapes site title from panel header navigation. Details By embedding "<!--", the source code can be rendered non-functional, significantly impacting system availability. However, the attacker would need admin privileges, making the attack more difficult to execute.

    Recommended action: Upgrade to 2.0.0-beta.4 (pre-release) or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  5. Medium, CVSS 4.8PackagistPublished

    Cross-site scripting (XSS) vulnerability in Description metadata

    CVE-2024-37160 · GHSA-5pxr-7m4j-jjc6

    Affected
    • Packagist getformwork/formwork < 1.13.1; >= 2.0.0-beta.1, <= 2.0.0-beta.1
    Fixed in
    2.0.0-beta.21.13.1· Vendor fix available
    Issue
    Regardless of the role or privileges, no user should be able to inject malicious JavaScript (JS) scripts into the body HTML. an XSS (Cross-Site Scripting) vulnerability, specifically a Stored XSS, which affects all pages of the website. Once the JS script is embedded in the body HTML, the XSS will trigger on any page a victim visits, such as the about, blog, contact, or any other pages, except for the panel. Impact This vulnerability allows attackers to inject malicious JS or HTML through a crafted payload into the vulnerable spot, achieving persistence and attacking numerous visitors or anyone accessing the website. The attack can be widespread and affect many users because the malicious JS will execute on every page, unlike an injection on a specific page (e.g., injecting on the About page would only affect that page). In this case, a single injection point leads to the execution of the malicious JS on all pages. Patches - Formwork 1.13.1 has been released with a patch that…

    Recommended action: Upgrade to 2.0.0-beta.2 (pre-release) or 1.13.1 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  6. Medium, CVSS 4.8PackagistPublished

    formwork Cross-site scripting vulnerability in Markdown fields

    CVE-2024-35621 · GHSA-gx8m-f3mp-fg99

    Affected
    • Packagist getformwork/formwork < 1.13.0
    Fixed in
    1.13.0· Vendor fix available
    Issue
    Impact Users with access to the administration panel with page editing permissions could insert <script tags in markdown fields, which are exposed on the publicly accessible site pages, leading to potential XSS injections. Patches - Formwork 1.13.0 has been released with a patch that solves this vulnerability. Now the system config option content.safemode (enabled by default) controls whether HTML tags and potentially dangerous links are escaped. This is configurable as in some cases more flexibility should be given. Panel users should be only a controlled group of editors, which cannot enable the option by themselves, and not a generic group. This mitigates the chance of introducing vulnerabilities. - Formwork 2.x (6adc302) adds a similar content.safeMode system option. Like Formwork 1.13.0, by default HTML tags and dangerous link are escaped. Even if enabled by an administrator, however, <script and other dangerous tags are still converted to text, but secure tags are allowed.…

    Recommended action: Upgrade to 1.13.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  7. Medium, CVSS 4.8PackagistPublished

    Formwork Cross-site Scripting (XSS) from Page title field

    CVE-2023-24230 · GHSA-fvrh-wrpf-6q7h

    Affected
    • Packagist getformwork/formwork < 1.13.0
    Fixed in
    1.13.0· Vendor fix available
    Issue
    A stored cross-site scripting (XSS) vulnerability in Formwork v1.12.1 allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the Page title field. Only users with access to Administration Panel with page editing permission can inject raw HTML in the Page title field. Patched versions This vulnerability has been patched in Formwork 1.13.0.

    Recommended action: Upgrade to 1.13.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →