• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nette / latte / 42147900655
94%

Build:
DEFAULT BRANCH: master
Ran 06 Nov 2026 02:04AM UTC
Jobs 1
Files 180
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Nov 2026 02:03AM UTC coverage: 94.231%. Remained the same
42147900655

push

github

dg
HtmlHelpers: srcdoc and text/template escape as attributes [security]

Latte does not parse the document in srcdoc nor the template in such a script,
so a value may land in an attribute there. srcdoc escaped the inner layer as
HTML text without quotes, so <iframe srcdoc="<p title=&quot;{$x}&quot;>"> let
$x add an onmouseover handler to the document; it is now escaped as an attribute
value twice. In a template script the empty comment separating braces corrupted
attribute values like data-x="{$json}"; braces are entities there now, which
Vue 3 respects.

convertAttrToHtml() escapes as HTML text, so {{ cannot form when a block from
an attribute is included into text.

98f4a7e5-bf22-4772-8745-9dfe58960dc8

10 of 10 new or added lines in 1 file covered. (100.0%)

17 existing lines in 1 file now uncovered.

6876 of 7297 relevant lines covered (94.23%)

0.94 hits per line

Coverage Regressions

Lines Coverage ∆ File
17
88.89
-0.21% src/Latte/Engine.php
Jobs
ID Job ID Ran Files Coverage
1 42147900655.1 06 Nov 2026 02:04AM UTC 180
94.23
GitHub Action Run
Source Files on build 42147900655
  • Tree
  • List 180
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #42147900655
  • 9fcfa2e3 on github
  • Prev Build on master (#40792963431)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc