{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "4.34.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "06e4b377f3c360f9e89c32dccd7e505ad5ddf498"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "40b989b1a9dd23d30029b8ce7668634265cfe5ea"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "apostrophe@4.34.0",
                "range": [
                  {
                    "fixed": "a48dd9fec37d485516d445fbb14a5e76a30ab42e"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "a48dd9fec37d485516d445fbb14a5e76a30ab42e"
            },
            {
              "fixed": "06e4b377f3c360f9e89c32dccd7e505ad5ddf498"
            },
            {
              "fixed": "40b989b1a9dd23d30029b8ce7668634265cfe5ea"
            }
          ],
          "repo": "https://github.com/apostrophecms/apostrophe",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-7jg5-frgc-c67w"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112958.json"
  },
  "details": "ApostropheCMS is an open-source Node.js content management system. Prior to 4.34.0, a project-defined free-form widget style field can carry an editor-controlled quote into an inline style attribute because the wrapper serializer does not apply HTML-attribute encoding. The quote can terminate the style attribute and inject executable attributes when published content, or an affected draft viewed by a higher-privileged user, is rendered. This issue is fixed in version 4.34.0.",
  "id": "CVE-2026-112958",
  "modified": "2026-10-21T02:30:49.367892109Z",
  "published": "2026-10-20T16:03:53.041Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112958.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/apostrophecms/apostrophe/commit/06e4b377f3c360f9e89c32dccd7e505ad5ddf498"
    },
    {
      "type": "FIX",
      "url": "https://github.com/apostrophecms/apostrophe/commit/40b989b1a9dd23d30029b8ce7668634265cfe5ea"
    },
    {
      "type": "WEB",
      "url": "https://github.com/apostrophecms/apostrophe/releases/tag/apostrophe@4.34.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-7jg5-frgc-c67w"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-112958"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "ApostropheCMS: Stored XSS via Unescaped Widget Style Attribute Serialization"
}