cvelo
P3 · MediumCVSS 5.3

Folder scripts saved by non-scripting users run for anonymous visitors

  • CVE-2026-120092
  • EUVD-2026-144655

Description

Missing authorization in the file-based scripting endpoints /api/vtl/{folder} and /api/js/{folder} in dotCMS through 26.10.29-01 allows a backend user with ordinary content-authoring permissions (write and publish) on a folder under /application/apivtl or /application/apijs, and without the Scripting Developer role, to save a Velocity or JavaScript file that the server then executes for any unauthenticated visitor who requests that folder. The inline /api/vtl/dynamic and /api/js/dynamic endpoints require the Scripting Developer role, but the file-based endpoints did not check who wrote the file. Fixed in 26.11.02-01 and later. Folder scripts now run only when the user who last saved them holds the Scripting Developer role or is a CMS Administrator; otherwise the endpoint answers 403.

Text from the CVE.org record.

Recommendation

  • dotCMS

    • If you run a version before 26.11.02-01update to 26.11.02-01 or later
    • If you run a version from 25.07.10 to before 25.07.10_lts_v26update to 26.11.02-01 or laterMajor version change: expect breaking changes

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • dotCMS

    Affected versionsFixed in
    before 26.11.02-0126.11.02-01
    from 25.07.10 to before 25.07.10_lts_v2626.11.02-01

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.