CVE-2025-65956
JSON

6.5medium

Formwork CMS Has a Stored Cross-Site Scripting (XSS) Vulnerability in Blog Tags

Severity
6.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.22% (higher than 13% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-7j46-f57w-76pj

Description

Formwork is a flat file-based Content Management System (CMS). Prior to version 2.2.0, inserting unsanitized data into the blog tag field 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. The issue is persistent and impacts privileged administrative workflows. This issue has been patched in version 2.2.0.

Affected

Product or packageVersionsReported by
getformwork formwork< 2.2.0CVE List
getformwork/formwork (Packagist)before 2.2.0GitHub Advisory Database
formwork_project formworkbefore 2.2.0NVD

All scores

GitHub_M6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

Formwork is a flat file-based Content Management System (CMS). Prior to version 2.2.0, inserting unsanitized data into the blog tag field 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. The issue is persistent and impacts privileged administrative workflows. This issue has been patched in version 2.2.0.

GitHub Advisory Database
Summary

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

This is a stored cross‑site scripting (XSS) vulnerability.

This impacts all users who access the affected blog post’s edit page.

Patches

Formwork 2.2.0 ensures proper escaping of user input in tag fields.

NVD (es)

Formwork es un Sistema de Gestión de Contenidos (CMS) basado en archivos planos. Versiones anteriores a la versión 2.2.0, la inserción de datos no saneados en el campo de etiquetas del blog resulta en cross-site scripting (XSS) almacenado. Cualquier usuario con credenciales para el CMS de Formwork que acceda o edite una entrada de blog afectada tendrá un script controlado por el atacante ejecutado en su navegador. El problema es persistente e impacta los flujos de trabajo administrativos privilegiados. Este problema ha sido parcheado en la versión 2.2.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-65956 changed 2025-11-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-7j46-f57w-76pj changed 2026-02-22CC-BY-4.0
NVDCVE-2025-65956 changed 2026-10-18Public domain